Commit Graph

389 Commits

Author SHA1 Message Date
Christian Williams 5182e00c66 Wrapped matcher functions return undefined after expect() for futureproofing; we might want to allow matcher chaining, e.g.:
expect(x).toBeGreaterThan(3).and.toBeLessThan(6));
or other stuff e.g.:
  expect(x).toBeTrue().because("it just needs to be");
2010-08-04 13:52:38 -07:00
Christian Williams 676af93bea Refactor toThrow() matcher specs. 2010-08-03 18:51:31 -07:00
Christian Williams 4d7b839473 Fix not.toThrow() matcher exception when used with no args. 2010-08-02 18:36:26 -07:00
Todd Persen 89afebd86b Update copyright years. 2010-07-30 11:59:30 -04:00
Christian Williams 31020bb51d Try adding analytics code. 2010-07-28 18:18:18 -07:00
Christian Williams 17e9a038a2 2010-07-28 18:17:10 -07:00
Todd Persen 1e01000c17 Update MIT License and add to README. 2010-07-28 11:20:29 -04:00
Christian Williams 6562b5a3b4 Add warning to SpecRunner.html when running from non-built source. 2010-07-27 18:47:12 -07:00
Christian Williams & Jay Phillips 15955df258 Styling. 2010-07-23 18:25:21 -07:00
Christian Williams & Jay Phillips 81bf4784cd Move User Guide to site. 2010-07-23 18:23:53 -07:00
Christian Williams & Jay Phillips 14486f5912 Add jekyll to Gemfile. 2010-07-23 18:19:16 -07:00
Christian Williams & Jay Phillips 9842c8ff81 Move User Guide from github README to here. 2010-07-23 18:08:33 -07:00
Christian Williams feb4618c31 Add Gemfile. 2010-07-23 10:06:19 -07:00
Christian Williams & Jay Phillips c6acfb3982 Merge branch 'master', remote branch 'origin' 2010-07-21 18:55:55 -07:00
Tom Crayford ba5bd3f866 Jasmine.createSpy() throws a reference error, jasmine.createSpy() does not. 2010-07-18 00:45:23 +08:00
Christian Williams & Harry Ugol 0331209413 Merge branch 'master' of git://github.com/pivotal/jasmine 2010-07-09 14:51:13 -07:00
Christian Williams 57491a0088 README updates. 2010-07-05 22:56:37 -07:00
Christian Williams e6b6d9ca95 2010-07-05 22:46:55 -07:00
Christian Williams bf44d4b0db Change link to downloads. 2010-07-01 00:06:28 -07:00
Christian Williams 3da73bd519 Remove unused lib/consolex.js. 2010-06-30 23:49:34 -07:00
Christian Williams 61c0fe781c Styling fix. 2010-06-30 00:09:01 -07:00
Harry Ugol & Tyler Schultz 766f3546bf Add gem reference. 2010-06-28 10:52:22 -07:00
Lee Byrd & Christian Williams f6d1f7d871 checking in master's SHA 2010-06-25 18:19:02 -07:00
Lee Byrd & Christian Williams 5e843e087b updating gh-pages SHA 2010-06-25 18:13:58 -07:00
Lee Byrd & Christian Williams 51c0563608 bumping version to 0.11.1 2010-06-25 18:11:18 -07:00
Lee Byrd & Christian Williams 9e3036fbf7 Doc fix. 2010-06-25 17:40:50 -07:00
Lee Byrd & Christian Williams dcc8b460d1 Rakefile updates pages/index.html. 2010-06-25 17:35:08 -07:00
Lee Byrd & Christian Williams c533b67aa5 Remove vestiges of ruby ci code from jasmine core.
Add missing lib/jasmine-html.js.
2010-06-25 15:16:43 -07:00
Lee Byrd & Christian Williams 7a69d64669 Add dist to .gitignore.
Exclude hidden files from standalone zip.
2010-06-25 10:07:08 -07:00
Lee Byrd & Christian Williams ed80a0cad7 Re-add lib/jasmine.css for jasmine-gem. 2010-06-24 17:37:13 -07:00
Lee Byrd & Christian Williams 85351f2c1c Build html support classes (just TrivialReporter for now) into jasmine-html.js. 2010-06-24 17:33:46 -07:00
Lee Byrd & Christian Williams 1057596665 New example project.
Generate jasmine-standalone-x.x.x.zip.
2010-06-24 17:15:06 -07:00
Lee Byrd & Christian Williams 22065fafad By default don't display "Jasmine Running..." console log for each spec. Re-enable by setting TrivialReporter's logRunningSpecs to true. 2010-06-24 11:10:58 -07:00
Lee Byrd & Christian Williams 2939aff80c deprecating wasCalled, wasCalledWith, wasNotCalled, wasNotCalledWith and adding toHaveBeenCalled, and toHaveBeenCalledWith 2010-06-24 10:34:03 -07:00
Lee Byrd & Christian Williams 6a0e452788 Oops, remove call to jasmine.log(). 2010-06-23 17:12:38 -07:00
Lee Byrd & Christian Williams 00296b02e0 Regenerate jsdoc. 2010-06-23 11:31:55 -07:00
Lee Byrd & Christian Williams 8f5f6a6d27 The single-file lib/jasmine.js no longer has a version number in the filename. We'll make it available for download with the version number seperately.
Add lint check for 'window'.
Remove last 'window' reference.
2010-06-23 11:31:38 -07:00
Lee Byrd & Christian Williams ed47ececa9 The single-file lib/jasmine.js no longer has a version number in the filename. We'll make it available for download with the version number seperately. 2010-06-23 11:26:01 -07:00
Lee Byrd & Christian Williams 9c8180d8d0 Fixed bug where multiple calls to jasmine.Clock.useMock cause multiple tear downs 2010-06-23 11:03:05 -07:00
Lee Byrd & Christian Williams 6a9f74e849 Add jsdoc for jasmine.log. 2010-06-23 10:53:10 -07:00
Lee Byrd & Christian Williams 3be2455d8c README change. 2010-06-23 10:28:02 -07:00
Lee Byrd & Christian Williams 40b0c49d25 Point example_runner.html to latest jasmine version.
Update README.
2010-06-23 10:21:21 -07:00
Lee Byrd & Christian Williams 82e04c327a Bumped version to 0.11.0.
Regenerated docs and lib.
2010-06-22 17:52:25 -07:00
Lee Byrd & Christian Williams 2a3376d11e Removed deprecated jasmine.include().
Removed deprecated ExpectationResult.details.
Removed deprecated Spec.getResults().
2010-06-22 17:38:15 -07:00
Lee Byrd & Christian Williams 413be6b4ca Remove deprecated class jasmine.Reporters.
Fully deprecate old-style Matchers; will be removed in next major version.
2010-06-22 17:35:41 -07:00
Lee Byrd & Christian Williams 0539251fe6 Refactored TrivialReporter to handle duplicate suite names properly 2010-06-22 17:25:08 -07:00
Lee Byrd & Christian Williams 1154fcaf3b Refactor. 2010-06-22 16:45:35 -07:00
Lee Byrd & Christian Williams 01d842fdfd Removed references to 'window'; using jasmine.getGlobal() instead in order to better support non-browser environments.
Better protection around access to console.
The global object is now pretty-printed as "<global>", not "<window>".
Tests are a little closer to passing in node.js.
2010-06-22 16:22:09 -07:00
Lee Byrd & Christian Williams e60f22a2e5 Changed 'type' field of MessageResult and ExpectationResult to 'log' and 'expect', respectively. 2010-06-22 14:48:47 -07:00
Lee Byrd & Christian Williams e7cd6a473a jasmine.log() and Spec#log() take multiple arguments which are pretty-printed and concatted together.
Log messages are handled correctly in TrivialReporter and JsApiReporter.
2010-06-22 12:23:54 -07:00