Commit graph

699 commits

Author SHA1 Message Date
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
Domenic Denicola
0fe68b021c Use inherited enumerable properties in deep equality comparison.
Fixes #120.
2012-12-30 06:26:26 -05:00
Domenic Denicola
730a12baa6 Show inherited properties when inspecting an object. 2012-12-30 06:25:17 -05:00
Domenic Denicola
fe45a2d667 Add new getProperties and getEnumerableProperties utils. 2012-12-30 06:24:23 -05:00
Jake Luer
d3de8cb4ed Release 1.4.2 2012-12-21 15:16:06 -05:00
Jake Luer
64db0cd21c browser build: (object diff support when used with mocha) #106 2012-12-21 15:02:43 -05:00
Jake Luer
4582d700b0 test: [display] array test for mocha object diff 2012-12-21 15:01:15 -05:00
Jake Luer
bc71605462 browser: no longer need different AssertionError constructor 2012-12-21 15:00:57 -05:00
Jake Luer
4279bca19b Release 1.4.1 2012-12-21 12:56:20 -05:00
Jake Luer
49a4655173 showDiff: force diff for equal and eql. #106 2012-12-21 12:50:04 -05:00
Jake Luer
972258cdff showDiff: force true for equal and eql 2012-12-21 12:47:29 -05:00
Jake Luer
3aa71e77cf test: [expect] type null. #122 2012-12-15 15:08:30 -05:00
Jake Luer
999ca70923 Merge pull request #115 from eshao/fix-assert-Throw
FIX/TST: assert.Throw should check error type/message
2012-11-30 11:47:22 -08:00
Edwin Shao
cdcca4f5f6 FIX: assert.Throw checks error type/message 2012-11-30 19:39:41 +08:00
Edwin Shao
f438d37e44 TST: assert.Throw should check error type/message
Currently, assert.Throw will not take into account the expected
error type or message passed in. Write tests to document this.
2012-11-30 19:37:12 +08:00
Jake Luer
b2642cfb80 Release 1.4.0 2012-11-29 03:26:55 -05:00
Jake Luer
a3e036ae43 pre-release browser build 2012-11-29 03:20:08 -05:00
Jake Luer
0b8fff789f clean up index.js to not check for cov, revert package.json to use index.js 2012-11-29 03:19:45 -05:00
Jake Luer
86fe576d56 convert tests to use new bootstrap 2012-11-29 03:18:48 -05:00
Jake Luer
5e07b04fdb refactor testing bootstrap 2012-11-29 03:18:25 -05:00