Commit graph

818 commits

Author SHA1 Message Date
Jake Luer
4db0b20c57 test: for ever err() there must be a passing version 2013-02-04 19:28:26 -05:00
Jake Luer
ab4bd0e76f Release 1.5.0 2013-02-03 20:49:13 -05:00
Jake Luer
5cfd37df18 docs: add Release Notes for non-gitlog summary of changes. 2013-02-03 19:10:22 -05:00
Jake Luer
fc24e98246 lib: update copyright to 2013 2013-02-03 19:01:36 -05:00
Jake Luer
a841833d58 Merge branch 'refactor/travis'
* refactor/travis:
  makefile: remove test-component for full test run
  pkg: script test now runs make test so travis will test browser
2013-02-03 18:36:07 -05:00
Jake Luer
3a11b9a32d makefile: remove test-component for full test run
Bug in component prevents build on node >= 0.6.x. Would prefer to
keep travis test support for node 0.6 for now.
2013-02-03 18:27:38 -05:00
Jake Luer
464cc7a5b0 pkg: script test now runs make test so travis will test browser 2013-02-03 18:16:04 -05:00
Jake Luer
3580ba126d browser: build 2013-02-03 18:03:50 -05:00
Jake Luer
6ccbd03780 tests: refactor some tests to support new objDisplay output 2013-02-03 18:03:40 -05:00
Jake Luer
364939ef15 test: [bootstrap] normalize boostrap across all test scenarios 2013-02-03 18:03:15 -05:00
Jake Luer
163c3c614b assertions: refactor some assertions to use objDisplay instead of inspect 2013-02-03 18:02:30 -05:00
Jake Luer
2e8e2ce145 util: [objDisplay] normalize output of functions 2013-02-03 18:01:44 -05:00
Jake Luer
f102d7fcc4 makefile: refactor for full build scenarios 2013-02-03 18:01:06 -05:00
Jake Luer
388bebfc67 component: fix build bug where missing util:type file 2013-02-03 18:00:31 -05:00
Jake Luer
475b1f20f0 assertions: [throw] code cleanup 2013-02-03 15:49:52 -05:00
Jake Luer
b52697e801 Merge branch 'refactor/typeDetection'
* refactor/typeDetection:
  browser: build
  makefile: chai.js is .PHONY so it builds every time
  test: [expect] add arguments type detection test
  core/assertions: [type] (a/an) refactor to use type detection utility
  util: add cross-browser type detection utility
2013-02-03 15:15:03 -05:00
Jake Luer
061a0df3a4 browser: build 2013-02-03 15:14:49 -05:00
Jake Luer
53cab5e7ba makefile: chai.js is .PHONY so it builds every time 2013-02-03 15:14:39 -05:00
Jake Luer
8ae89cd72d test: [expect] add arguments type detection test 2013-02-03 15:12:29 -05:00
Jake Luer
37098ed9c9 core/assertions: [type] (a/an) refactor to use type detection utility 2013-02-03 15:12:12 -05:00
Jake Luer
8286612c83 util: add cross-browser type detection utility 2013-02-03 15:11:30 -05:00
Jake Luer
31f2c768db Merge branch 'feature/component'
* feature/component:
  browser: build
  component: add component.json file
  makefile: refactor for fine grain control of testing scenarios
  test: add mochaPhantomJS support and component test file
  deps: add component and mocha-phantomjs for browser testing
  ignore: update ignore files for component support
2013-02-03 14:43:16 -05:00
Jake Luer
53b12e0073 browser: build 2013-02-03 14:42:57 -05:00
Jake Luer
88e1a19aba component: add component.json file 2013-02-03 14:41:25 -05:00
Jake Luer
f3b3eafdf6 makefile: refactor for fine grain control of testing scenarios 2013-02-03 14:41:13 -05:00
Jake Luer
398964d75b test: add mochaPhantomJS support and component test file 2013-02-03 14:40:50 -05:00
Jake Luer
7448291033 deps: add component and mocha-phantomjs for browser testing 2013-02-03 14:22:21 -05:00
Jake Luer
48a675daed ignore: update ignore files for component support 2013-02-03 14:20:15 -05:00
Jake Luer
14007b93d2 travis: run for all branches 2013-02-03 13:32:24 -05:00
Jake Luer
ff9005caa8 Merge branch 'feature/showDiff'
* feature/showDiff:
  test: [Assertion] configruable showDiff flag. Closes #132
  lib: [Assertion] add configurable showDiff flag. #132
  showDiff: force true for equal and eql

Conflicts:
	lib/chai/assertion.js
	test/display/message.js
2013-02-03 13:27:38 -05:00
Jake Luer
3e8e9dea49 test: [Assertion] configruable showDiff flag. Closes #132 2013-02-03 13:25:55 -05:00
Jake Luer
f5cf2c2f5a lib: [Assertion] add configurable showDiff flag. #132 2013-02-03 13:25:24 -05:00
Jake Luer
d8f01c0f36 Merge branch 'feature/saucelabs'
* feature/saucelabs:
  browser: build
  support: add mocha cloud runner, client, and html test page
  test: [saucelabs] add auth placeholder
  deps: add mocha-cloud
2013-02-03 13:01:23 -05:00
Jake Luer
30b48bd4c5 Merge branch 'master' into feature/saucelabs
* master:
  Fix issue #137, test message existence by using message!=null rather than using message
  Fixed backwards negation messages.
2013-02-03 13:00:16 -05:00
Jake Luer
985f53b8fe browser: build 2013-02-03 12:59:23 -05:00
Jake Luer
87b0a44ecc support: add mocha cloud runner, client, and html test page 2013-02-03 12:59:15 -05:00
Jake Luer
654bb8f90b test: [saucelabs] add auth placeholder 2013-02-03 12:57:25 -05:00
Jake Luer
59f1b341c0 deps: add mocha-cloud 2013-02-03 12:56:46 -05:00
Jake Luer
e619f98999 Merge pull request #136 from whatthejeff/message_fix
Fixed backwards negation messages.
2013-02-02 16:06:19 -08:00
Jake Luer
ba323f67a2 Merge pull request #138 from timnew/master
Fix defect #137 assertThrow always passes when message is empty
2013-02-02 16:04:21 -08:00
DD
91d2805393 Fix issue #137, test message existence by using message!=null rather than using message 2013-02-03 00:49:48 +08:00
Jeff Welch
4033c14f01 Fixed backwards negation messages. 2013-02-01 23:12:01 -05:00
Jake Luer
02ed69e1d0 Merge pull request #133 from RubenVerborgh/throw
Fix assertions on functions that throw primitives
2013-01-28 06:25:55 -08:00
Ruben Verborgh
9bcc5e7f08 Functions throwing strings can reliably be tested. 2013-01-27 20:11:50 +01:00
Jake Luer
70e3593772 Merge pull request #131 from RubenVerborgh/proto
Use __proto__ if available
2013-01-21 06:05:05 -08:00
Ruben Verborgh
4b90c17e05 Cache whether __proto__ is supported. 2013-01-19 17:32:34 +01:00
Ruben Verborgh
514dd6ce46 Use __proto__ if available. 2013-01-19 17:30:11 +01:00
Ruben Verborgh
ccb2ac85a4 Determine the property names to exclude beforehand. 2013-01-19 17:28:27 +01:00
Jake Luer
977afb7c34 Merge pull request #126 from RubenVerborgh/eqls
Add alias eqls for eql
2013-01-07 10:02:16 -08:00
Ruben Verborgh
7c319f099f Add alias eqls for eql. 2013-01-07 17:57:03 +01:00