Commit graph

858 commits

Author SHA1 Message Date
Chris Jones
e3e170d3e0 Fixes issue #291, adds assert.sameDeepMembers 2014-12-02 19:38:07 -05:00
Keith Cirkel
49e003c1f2 Merge pull request #311 from cjqed/305-above-below-on-assert
Issue #305 fixed, added assert.isAbove and assert.isBelow
2014-12-02 22:56:11 +00:00
Keith Cirkel
7de269af35 Merge pull request #308 from prodatakey/hasproperty
Fix properties with `undefined` value pass property assertion
2014-12-02 22:55:14 +00:00
Chris Jones
e8e8caf4c2 Issue #305 fixed, added assert.isAbove and assert.isBelow 2014-11-29 01:52:00 -05:00
Joshua Perry
414dea2881 Fix typo 2014-11-21 15:07:26 -07:00
Joshua Perry
dd51594075 More unit tests for new utility functions 2014-11-21 12:27:26 -07:00
Joshua Perry
2d22f4534e Refactor common functionality, document, test 2014-11-20 16:48:56 -07:00
Joshua Perry
8cdb7b1d76 Refactor if statement out 2014-11-18 17:42:30 -07:00
Joshua Perry
c4b0d18829 Small unit test fix 2014-11-18 17:25:39 -07:00
Joshua Perry
7d466b2d37 Handle array indexing terminating paths 2014-11-18 17:18:00 -07:00
Keith Cirkel
ff32dad2ae Merge pull request #309 from ericdouglas/iterableEqual-couting-once
Couting variables just once
2014-11-18 13:58:25 +00:00
ericdouglas
21b83b3ddf couting variables just once 2014-11-16 19:45:00 -02:00
Joshua Perry
32826c06df Fix properties with undefined value pass property assertion 2014-11-15 16:29:57 -07:00
Keith Cirkel
b71b930d83 Merge pull request #306 from chaijs/revert-297-noopchainfunc
Revert "Allows writing lint-friendly tests"
2014-11-13 14:39:57 +00:00
Keith Cirkel
b826feba51 Revert "Allows writing lint-friendly tests" 2014-11-13 11:58:50 +00:00
Jake Luer
c8b3208ce4 Release 1.10.0 2014-11-10 09:06:08 -05:00
Keith Cirkel
828f48148f Merge pull request #297 from prodatakey/noopchainfunc
Allows writing lint-friendly tests
2014-11-10 09:44:19 +00:00
Keith Cirkel
6073d1c3e4 Merge pull request #300 from julienw/299-fix-getMessage-test
Fix #299: the test is defining global variables
2014-11-06 11:20:33 +00:00
Julien Wajsberg
84cba222d1 Fix #299: the test is defining global variables 2014-11-06 12:09:55 +01:00
Joshua Perry
867563b0db Add a couple more unit tests 2014-11-05 10:14:28 -07:00
Joshua Perry
b4c0424ffb Add unit tests for chained terminating property asserts 2014-11-05 07:30:45 -07:00
Joshua Perry
c448e1de7c Revise documentation wording 2014-11-05 07:25:26 -07:00
Joshua Perry
bbd3aafbe5 Add docs for function style NOOP asserts 2014-11-04 10:27:43 -07:00
Joshua Perry
9142ce0cfd Make the NOOP function a shared constant 2014-11-04 09:25:31 -07:00
Keith Cirkel
3e35adff93 Merge pull request #298 from dasilvacontin/negativeZeroLogging
added check for logging negative zero
2014-11-03 12:03:52 +00:00
David da Silva
edef912f41 why not more assertions 2014-11-01 20:24:59 +01:00
David da Silva
627e4b0096 added test for inspecting -0 2014-11-01 20:19:27 +01:00
David da Silva
cec4ac1ed7 a more readable/simple condition statement, as pointed out by @keithamus 2014-10-31 15:20:12 +01:00
David da Silva
cbf76dcde8 added check for logging negative zero 2014-10-31 11:40:51 +01:00
Joshua Perry
cc1357d344 Change test to not trigger argument bug 2014-10-13 18:00:07 -06:00
Joshua Perry
4b0c0b6222 Allows writing lint-friendly tests
This makes the final assertion checks noop functions so that they can be formatted like function calls. This keeps linters (JSLint/JSHint) off our back for having an inop expression.

Completes #41
2014-10-13 16:31:17 -06:00
Jake Luer
d7030d55a0 readme: update contributors for 1.9.2 2014-09-29 19:27:11 -04:00
Jake Luer
15eab030b7 Release 1.9.2 2014-09-29 19:24:59 -04:00
Jake Luer
834fd5b0dd Merge pull request #268 from charlierudolph/cr-lazyMessages
Allow messages to be functions
2014-09-29 18:18:25 -04:00
Jake Luer
7e28dcc267 Merge pull request #269 from charlierudolph/cr-codeCleanup
Remove unused argument
2014-09-29 18:17:03 -04:00
Jake Luer
6e65020d2e Merge pull request #277 from charlierudolph/fix-doc
Fix assert documentation
2014-09-29 18:16:24 -04:00
Jake Luer
3e692e6d04 Merge pull request #279 from mohayonao/fix-closeTo
fix: closeTo should check value's type before assertion
2014-09-29 18:15:53 -04:00
Jake Luer
385bf9f6bc Merge pull request #292 from boneskull/mocha
resolves #255: upgrade mocha
2014-09-12 09:45:24 -04:00
Christopher Hiller
6d6f03d2d2 resolves #255: upgrade mocha 2014-09-11 22:54:56 -07:00
Jake Luer
a9c974a926 Merge pull request #289 from charlierudolph/cr-dryUpCode
Dry up code
2014-08-30 11:26:25 -04:00
charlierudolph
0a1812c9c9 Dry up code 2014-08-27 13:24:51 -07:00
Jake Luer
6c789b170e Merge pull request #275 from DrRataplan/master
Rewrite pretty-printing HTML elements to prevent throwing internal errors
2014-08-09 10:49:18 -04:00
mohayonao
11fe70ef82 assert: .closeTo() verify value's type before assertion 2014-07-16 09:50:45 +09:00
Martin Middel
4b31574658 Rewrite pretty-printing HTML elements to prevent throwing internal errors
Fixes errors occuring when using a non-native DOM implementation
2014-06-30 20:38:14 +02:00
charlierudolph
7a0a6daeaa Fix assert documentation 2014-06-27 16:27:05 -07:00
charlierudolph
e8ff325d0e Remove unused argument 2014-06-08 14:06:56 -07:00
charlierudolph
216ad26aa1 Allow messages to be functions 2014-06-08 14:00:42 -07:00
Veselin
ab999d8917 Merge pull request #267 from shinnn/master
Use SVG badge
2014-06-08 06:29:08 +03:00
shinnn
59750903b5 Use SVG badge 2014-06-08 05:46:12 +09:00
Jake Luer
67a4f44841 Merge pull request #264 from cjthompson/keys_diff
Show diff for keys assertion
2014-05-28 16:51:32 -04:00