Commit graph

389 commits

Author SHA1 Message Date
Jake Luer
716ad77769 browser build 2012-05-06 07:23:36 -04:00
Jake Luer
aa3d84aab6 missing assert tests for ownProperty 2012-05-06 07:22:29 -04:00
Jake Luer
bed8867ac0 appropriate assert equivalent for expect.to.have.property(key, val) 2012-05-06 07:22:07 -04:00
Jake Luer
d03d686330 reset AssertionError to include full stack 2012-05-06 07:01:34 -04:00
Jake Luer
4a05659fa0 test for plugin utilities 2012-05-06 06:54:32 -04:00
Jake Luer
9105b89fc9 overwrite Property and Method now ensure chain 2012-05-06 06:54:21 -04:00
Jake Luer
45a1ef789b version notes in readme 2012-05-04 18:05:14 -04:00
Jake Luer
0ecbc0eab2 Release 1.0.0-rc1 2012-05-04 17:58:24 -04:00
Jake Luer
1bd9848aac browser build (rc1) 2012-05-04 17:57:16 -04:00
Jake Luer
943b7569bd assert match/notMatch tests 2012-05-04 17:55:11 -04:00
Jake Luer
97296e4979 assert interface - notMatch, ownProperty, notOwnProperty, ownPropertyVal, ownPropertyNotVal 2012-05-04 17:55:11 -04:00
Jake Luer
1082fc6544 cleaner should interface export.
- also aliased `chai.Should()` as the original would be overwritten after the first call (helps when using watch mode for test runners)
2012-05-04 17:55:11 -04:00
Jake Luer
755a36938b added chai.Assertion.prototype._obj (getter) for quick access to object flag 2012-05-04 17:55:11 -04:00
Jake Luer
0a8ddc452f moved almostEqual / almostDeepEqual to stats plugin 2012-05-04 17:55:11 -04:00
Jake Luer
f596097e7b added mocha.opts
(so @domenic can run tests without the makefile)
2012-05-04 17:55:11 -04:00
Veselin Todorov
c268462bf8 Add test for utils.addMethod 2012-04-29 20:51:40 +03:00
Veselin Todorov
f287b09c40 Fix a typo 2012-04-29 17:59:27 +03:00
Veselin Todorov
e3cd113725 Add test for utils.overwriteMethod 2012-04-29 10:21:53 +03:00
Veselin Todorov
22f594a0b9 Fix a typo 2012-04-29 10:21:33 +03:00
Veselin Todorov
c24326deeb Browser build 2012-04-29 10:00:56 +03:00
Veselin Todorov
f58760c615 Add undefined assertion 2012-04-29 09:59:24 +03:00
Veselin Todorov
234f4ee613 Add null assertion 2012-04-29 09:59:14 +03:00
Veselin Todorov
930dfbdc4f Fix an issue with mocha --watch
When running tests with `mocha --watch` the following exception is thrown:

  TypeError: Cannot redefine property: testing

Here is the fix for it. We should be more careful in the future, since the `watch` param is super useful and a lot of developers are using it.
2012-04-29 09:58:56 +03:00
Jake Luer
73ad06bd5c travis no longer tests on node 0.4.x 2012-04-26 15:41:26 -04:00
Jake Luer
a232b37c7e removing unnecissary carbon dep 2012-04-26 14:55:54 -04:00
Jake Luer
205e1467b9 Merge branch 'feature/plugins-app' 2012-04-26 14:23:10 -04:00
Jake Luer
9f02abd68f docs build 2012-04-26 14:22:03 -04:00
Jake Luer
93b8e705c3 templates for docs express app for plugin directory 2012-04-26 14:21:54 -04:00
Jake Luer
621ef7e418 express app for plugin and static serving 2012-04-24 21:55:37 -04:00
Jake Luer
be9cf0ef56 added web server deps 2012-04-24 21:55:25 -04:00
Jake Luer
ee2050abaa Merge pull request #54 from josher19/master
Added almostEqual to assert test suite.
2012-04-23 21:07:36 -07:00
josher19
d2f80f5991 Remove old test.assert code 2012-04-24 11:44:16 +08:00
josher19
d5fe1839a0 Use util.inspect instead of inspect for deepAlmostEqual and almostEqual 2012-04-24 11:34:59 +08:00
Jake Luer
0db35b0f67 browser build 2012-04-23 02:26:05 -04:00
josher19
19c1fb1b9c Added almostEqual and deepAlmostEqual to assert test suite. 2012-04-23 13:56:44 +08:00
Jake Luer
ed14ab04c9 bug - context determinants for utils 2012-04-23 01:40:28 -04:00
josher19
6702b4da3d dec=0 means rounding, so assert.deepAlmostEqual({pi: 3.1416}, {pi: 3}, 0) is true 2012-04-23 13:36:12 +08:00
Jake Luer
7100166c0f wrong travis link 2012-04-22 18:30:02 -04:00
Jake Luer
c6c4e1b43c readme updates for version information 2012-04-22 18:27:42 -04:00
Jake Luer
6b0bf3783e travis tests 0.5.x branch as well 2012-04-22 18:24:35 -04:00
Jake Luer
6292957d5e [bug] util addProperty not correctly exporting 2012-04-22 18:22:12 -04:00
Jake Luer
580f6c24a2 read me version notes 2012-04-22 17:16:31 -04:00
Jake Luer
d48809afaa browser build 1.0.0alpha1 2012-04-22 17:04:36 -04:00
Jake Luer
df069ad2d1 not using reserved words in internal assertions. #52
This commit fixes #52 in 1.0.0+

- also added mt/lt alias
2012-04-22 17:03:48 -04:00
Jake Luer
fc4956e9fa version tick 2012-04-22 16:54:21 -04:00
Jake Luer
87870b1b9d clean up redundant tests 2012-04-22 16:54:11 -04:00
Jake Luer
2d49079f60 Merge branch 'refs/heads/0.6.x'
Conflicts:
	chai.js
	docs/out/chai.js
	docs/out/code/assert.html
	docs/out/code/expect.html
	docs/out/index.html
	docs/out/support/coverage/index.html
	docs/out/support/tests/mocha.js
	lib/assertion.js
	lib/chai.js
	lib/error.js
	lib/interface/assert.js
	package.json
2012-04-22 16:39:54 -04:00
Jake Luer
61a137a0c2 update version tag in package 1.0.0alpha1 2012-04-22 16:33:03 -04:00
Jake Luer
eeb862331b browser build 2012-04-22 15:27:03 -04:00
Jake Luer
88c121e5ee added utility tests to browser specs 2012-04-22 15:26:54 -04:00