Veselin Todorov
f1e6a9abb3
Merge branch 'master' into empty-object
...
* master:
don't switch act/exp
Update the compiled verison.
Add `assert.operator`.
Notes on messages. #22
browser build
have been test
below tests
browser build
remove unnecessary fail export
full support for actual/expected where relevant
Assertion.assert support expected value
clean up error
2012-03-07 17:49:20 +02:00
Jake Luer
df1a82dd1e
don't switch act/exp
2012-03-03 23:21:01 -05:00
Veselin Todorov
c7cc03f059
Add assert.operator
.
2012-03-02 15:49:07 +02:00
Jake Luer
ea4a33a51a
Notes on messages. #22
2012-03-01 19:43:13 -05:00
Jake Luer
30e13addfa
remove unnecessary fail export
2012-03-01 19:27:51 -05:00
Jake Luer
a6447e809e
full support for actual/expected where relevant
2012-03-01 19:18:31 -05:00
Jake Luer
56db8a6b09
Assertion.assert support expected value
2012-03-01 18:56:18 -05:00
Jake Luer
0352892e19
clean up error
2012-03-01 18:55:45 -05:00
Veselin Todorov
670f128970
Add object & sane arguments support to Assertion#empty
.
2012-02-29 21:51:42 +02:00
Jake Luer
dc2ea1324d
Release 0.4.2
2012-02-28 13:00:08 -05:00
Jo Liss
7885f62e81
Document that "should" works in browsers other than IE
...
I tested this with FF 10, Chrome 18, Safari 5.1 (all work), and
IE 9 (does not work).
2012-02-27 22:57:41 +01:00
Veselin Todorov
63e1349473
Falsey -> falsy.
2012-02-27 22:33:24 +02:00
Veselin Todorov
5c9e675aea
Add test for assert.isNumber
.
2012-02-27 22:10:02 +02:00
Veselin Todorov
14cd7f720c
Fix assert.isNotNull
implementation.
2012-02-27 21:55:56 +02:00
Veselin Todorov
95172dafaa
Fix assert.isNull
implementation.
2012-02-27 21:55:13 +02:00
Jake Luer
eee7fb3eed
Release 0.4.1
2012-02-26 13:09:08 -05:00
Veselin Todorov
5d6cd00ec0
Fix type of actual checks.
2012-02-25 20:25:32 +02:00
Jake Luer
567656290b
Release 0.4.0
2012-02-25 12:19:47 -05:00
Veselin Todorov
a9e53d5662
Update closeTo()
docs.
2012-02-25 00:06:08 +02:00
Veselin Todorov
c735d7ea04
Add Assertion.closeTo()
method.
2012-02-25 00:04:26 +02:00
Veselin Todorov
6857d0ccc4
Update example for .satisfy()
.
2012-02-24 22:44:52 +02:00
Veselin Todorov
92b8ffe589
Add Assertion.satisfy()
method.
2012-02-24 22:36:25 +02:00
Veselin Todorov
08371a4eee
Add respondTo
Assertion.
2012-02-24 21:54:12 +02:00
Jake Luer
be20799f37
Release 0.3.4
2012-02-23 00:09:29 -05:00
Jake Luer
ac0cb859bf
inline comment typos for #15
2012-02-22 23:54:31 -05:00
Jake Luer
937474cd25
includeStack documentation for all interfaces
2012-02-22 23:45:58 -05:00
Jeff Barczewski
105fb02e98
Allow inclusion of stack trace for Assert error messages to be configurable
...
```javascript
Assertion.includeStack = true; // enable stack trace to be included on error
```
Default value is false, resulting in less cluttered error results.
Allow user to configure this to true, to see stack trace to where error
occurred.
2012-02-22 14:17:49 -06:00
Jake Luer
de582d61d4
Release 0.3.3
2012-02-12 18:07:08 -05:00
John Firebaugh
1c6f9a0fdd
Make Assertion.prototype properties configurable
...
This allows plugins to install object-specific behavior
for built-in assertions.
2012-02-12 14:45:08 -08:00
Jake Luer
f35cab9f2a
Release 0.3.2
2012-02-10 11:38:51 -05:00
Jake Luer
3fdd508721
docs cleanup
2012-02-10 11:32:44 -05:00
Jake Luer
abdcf3786d
Release 0.3.1
2012-02-07 17:34:55 -05:00
Jake Luer
912208266b
node 0.4.x compat
2012-02-07 17:32:49 -05:00
Jake Luer
73c50bacbf
Release 0.3.0
2012-02-07 16:59:45 -05:00
Jake Luer
0a7a4fc4d4
remove html/json/headers testign
...
these can be implemented in a plugin
2012-02-07 16:41:29 -05:00
Jake Luer
67024ae9f5
regex error.message testing
2012-02-07 16:39:08 -05:00
Jake Luer
3d964e5479
tests for using plugins
2012-02-07 16:13:17 -05:00
Domenic Denicola
bea973fa11
Make chai.use
a no-op if the function has already been used.
...
Fixes issue discussed in #9 , where if two test scripts call `chai.use(extension)`, property redefinition errors occur.
2012-02-06 11:38:14 -05:00
Jake Luer
2ad9f016f7
Release 0.2.4
2012-02-02 00:56:04 -05:00
Jake Luer
dc2c2ddab2
added in past tense for been
2012-02-02 00:54:20 -05:00
Jake Luer
3fe2a365b3
Release 0.2.3
2012-02-01 22:04:48 -05:00
Jake Luer
4bff33622b
try that again
2012-02-01 22:03:33 -05:00
Jake Luer
19011701aa
Release 0.2.2
2012-02-01 21:57:59 -05:00
Jake Luer
0b215480db
added been
(past of be
) alias
2012-02-01 21:57:12 -05:00
Jake Luer
58244843c6
Release 0.2.1
2012-01-29 20:27:13 -05:00
Jake Luer
2d35f8f4cd
added Throw, with a capital T, as an alias to throw
( #7 )
...
meddlesome browsers beware!
2012-01-29 20:25:56 -05:00
Jake Luer
431d431359
Release 0.2.0
2012-01-26 19:17:59 -05:00
Jake Luer
cf896bf138
interfaces now work with use
2012-01-26 19:14:08 -05:00
Jake Luer
c0e5d214dc
simple .use function. See #9 .
2012-01-26 19:13:41 -05:00
Jake Luer
f8dbcf9f64
Release 0.1.7
2012-01-25 16:34:28 -05:00