Commit graph

634 commits

Author SHA1 Message Date
Jake Luer
8f8d7425a5 assert: [notInclude] add assert.notInclude. Closes #158 2013-04-29 19:03:53 -04:00
Jake Luer
0f188ac9d7 browser build 2013-04-29 18:15:27 -04:00
Jake Luer
78b097c42f makefile: force browser build on browser-test 2013-04-29 18:15:16 -04:00
Jake Luer
1d118016e0 makefile: use component for browser build 2013-04-29 17:42:25 -04:00
Jake Luer
6f70c5eb74 core: [assertions] remove extraneous comments 2013-04-29 17:42:00 -04:00
Jake Luer
30784962da Merge branch 'master' of github.com:chaijs/chai
* 'master' of github.com:chaijs/chai:
  giving members a no-flag assertion
  Code review comments - changing syntax
  Code review comments
  Adding members and memberEquals assertions for checking for subsets and set equality. Implements chaijs/chai#148.
  Restore the `call` and `apply` methods of Function when adding a chainable method.
2013-04-29 17:18:34 -04:00
Jake Luer
e5e3a4fa42 test: [assert] deep equal ordering 2013-04-29 17:18:22 -04:00
Jake Luer
387ee318b8 Merge pull request #153 from NickHeiner/array-assertions
Adding members and memberEquals assertions
2013-04-29 14:06:41 -07:00
Nick Heiner
244fa51336 giving members a no-flag assertion 2013-04-23 11:12:23 -04:00
Nick Heiner
22e2a78a4e Code review comments - changing syntax 2013-04-14 19:07:12 -04:00
Nick Heiner
4ea9185e9e Code review comments 2013-04-14 18:00:02 -04:00
Nick Heiner
078da00be3 Adding members and memberEquals assertions for checking for subsets and set equality. Implements chaijs/chai#148. 2013-04-14 17:58:07 -04:00
Jake Luer
039d8c6655 Merge pull request #140 from RubenVerborgh/function-prototype
Restore the `call` and `apply` methods when adding a chainable method
2013-02-15 11:25:08 -08:00
Ruben Verborgh
caf2a151c0 Restore the call and apply methods of Function when adding a chainable method.
This was broken on platforms that have `__proto__` support.
Details at https://github.com/chaijs/chai/commit/514dd6ce4#commitcomment-2593383
2013-02-13 12:41:22 +01:00
Jake Luer
baf576db4e readme: 2013 2013-02-04 20:01:24 -05:00
Jake Luer
48ce1e5928 notes: migration notes for deep equal changes 2013-02-04 20:00:56 -05:00
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