Commit Graph

394 Commits

Author SHA1 Message Date
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
Lee Byrd & Christian Williams
3bdc96c00a Re-enable and fix JsApiReporterSpec specs. 2010-06-22 12:04:34 -07:00
Lee Byrd & Christian Williams
b9bf42c6b5 Merge branch 'master' of git@github.com:pivotal/jasmine into HEAD 2010-06-22 10:43:48 -07:00
Lee Byrd & Christian Williams
2d138f1cfa Refactor. 2010-06-22 10:30:06 -07:00
Lee Byrd & Christian Williams
e30b99e7b3 JsApiReporter reports nested suites correctly.
Runner#topLevelSuites() returns only top level suites.
Suite#specs(), Suite#suites(), and Suite#children() return immediate children.
2010-06-22 10:18:22 -07:00
DanielHeath
40272cd563 Fixed typo in example code. 2010-06-15 11:47:30 +08:00
Pivotal
c187adc096 Version bump to 0.10.4 2010-06-05 10:44:54 -04:00
Pivotal
5aa306cf66 Add unit specs for WaitsForBlock 2010-06-05 10:32:41 -04:00
Pivotal
462b50e84e Replace unshift with splice (unshift not IE-safe) 2010-06-05 10:12:16 -04:00
Pivotal
46249bf515 Fix spec failure that occured when stack traces/line numbers are available 2010-06-05 10:07:58 -04:00
Christian Williams
03d7bfb7d4 Oops, shouldn't onComplete there. 2010-06-04 14:48:48 -04:00
Christian Williams
11292ff83c Merge branch 'master' of git@github.com:pivotal/jasmine 2010-06-04 14:45:52 -04:00
Christian Williams
ab7678e713 Apply patch from Eric Pabst (May 18, 2010):
Replaced call to self.spec._next() with onComplete() when the test times out.

This is because there is no such function as _next(), and onComplete() seems to
do the right thing.
2010-06-04 14:45:42 -04:00
Eric Pabst
6431431dfc Replaced call to self.spec._next() with onComplete() when the test times out.
This is because there is no such function as _next(), and onComplete() seems to do the right thing.
2010-06-05 02:44:51 +08:00
Christian Williams
a2041e90a6 Multiple befores/afters in a single describe should be executed in order (as declared for befores, in reverse for afters). 2010-06-04 14:41:16 -04:00
Christian Williams
ed49104fad Jasmine should recover gracefully when there are errors in describe functions. 2010-06-04 14:14:31 -04:00
labday
803a2fb2ba Fixing documentation error. 2010-05-28 05:52:48 +08:00
John Firebaugh
bb1928a75c Remove geminstaller stuff.
This isn't a gem anymore, and geminstaller is deprecated.
2010-05-08 10:57:43 +08:00
John Firebaugh
7d5ff6985f Rebuild to fix line endings. 2010-05-08 10:57:43 +08:00
ragaskar
841e93fc09 'Hide' currently unusable Rake tasks 2010-04-20 07:26:51 -07:00
bigfix
5cfb019b6b Documentation and example fixes 2010-04-20 07:26:04 -07:00
Christian Williams & Ian Fisher
9f8d18b6b7 Version bump to 0.10.3 2010-04-01 16:03:52 -07:00
Christian Williams & Ian Fisher
f0574086de Version bump to 0.10.3 2010-04-01 16:00:50 -07:00
Christian Williams & Ian Fisher
2212d755c3 Merge commit '5f10b2e623c6c21d1b692bde4a8a5c6d4015cd44' 2010-04-01 15:57:24 -07:00
Christian Williams & Ian Fisher
5f10b2e623 Added Env#versionString; nicer styling in TrivialReporter; hide passed and skipped tests by default, but allow them to be displayed. 2010-04-01 15:56:29 -07:00
Christian Williams
d8ed4156c7 Remove contrib/ruby dir. 2010-03-24 14:18:17 -07:00
Christian Williams
1469f83262 Deprecate jasmine.include(). 2010-03-24 13:53:34 -07:00
Christian Williams
d6353a3db2 Typo. 2010-03-24 13:43:47 -07:00
ragaskar
9a5b46fd99 Version bump to 0.10.2 2010-03-18 20:35:36 -07:00
ragaskar
bf938ffc50 Correct number matching in equals_ 2010-03-18 20:32:40 -07:00
ragaskar
c85079e9d0 Handle string comparisons correctly with equals_ 2010-03-17 08:19:29 -07:00
ragaskar
dec92322f1 Add default jasmine rake task 2010-03-17 07:54:20 -07:00
Christian Williams
72ea614d5e Rebuild lib/jasmine. 2010-03-15 12:15:50 -07:00
Christian Williams
184ff6fb2d Typo. 2010-03-08 22:03:57 -08:00
Christian Williams
9830952461 Evaluate custom equality testers before any others. 2010-03-08 21:56:04 -08:00
Christian Williams
e9a2b0dcdb Better deprecation messages. 2010-03-05 22:40:47 -05:00
Christian Williams
23d5c7180b Keep jasmine.Matchers.pp() but throw an error message. 2010-03-05 22:36:42 -05:00
Christian Williams
a661e77345 Remove jasmine.Matchers.pp(), use jasmine.pp() instead. 2010-03-05 22:34:37 -05:00
Christian Williams
564b9a0c3e Cleanup. 2010-03-05 22:11:11 -05:00
Christian Williams
2ab6af1e48 Add doc about Spec#after() method. 2010-03-05 22:10:05 -05:00
Christian Williams
22e9434a50 Correction d'une faute. 2010-03-03 23:51:11 -05:00
Christian Williams
581d948c93 Add quick mention of '.not' matcher inversion. 2010-03-03 23:48:10 -05:00
Christian Williams
7721f47f59 Update dist. 2010-03-01 23:12:12 -05:00
Christian Williams
49f295690a Old-style custom matchers (those which call this.report()) are not supported with the ".not" matcher negation syntax. 2010-03-01 23:02:59 -05:00
Christian Williams
4b80a10969 Fix specs. 2010-02-27 12:00:35 -05:00
Christian Williams
6574dcc728 Merge branch 'master' into dot-not 2010-02-27 11:57:15 -05:00