slackersoft
eefa716530
set suite status to failed when afterAll has failures
2014-09-26 09:12:48 -07:00
slackersoft
ba0982d89f
Merge branch 'beforeAll' into master
...
Conflicts:
lib/jasmine-core/boot.js
lib/jasmine-core/boot/boot.js
lib/jasmine-core/jasmine.css
lib/jasmine-core/jasmine.js
spec/core/SpecSpec.js
spec/core/SuiteSpec.js
spec/core/integration/EnvSpec.js
spec/node_suite.js
src/core/Env.js
src/core/requireCore.js
src/core/util.js
2014-09-24 20:20:39 -07:00
Greg Cobb
1290d93b6a
Suite result status added when suite is complete
...
- This makes it easier to detect afterAll failures, because we can
rely only complete runnables having statuses
[#78306786 & #73741654 ]
2014-09-09 11:26:32 -07:00
slackersoft
9402d59859
Suites report errors in afterAlls in the suiteDone event
...
- remove `afterAllEvent` from reporters
2014-09-03 22:18:20 -07:00
Greg Cobb and Tim Jarratt
35f52bcb24
Rewrite an incorrect suite spec
2014-08-27 12:27:11 -07:00
slackersoft
753f4b44b4
Merge branch 'suite-start' of https://github.com/javenwang/jasmine into javenwang-suite-start
2014-08-06 13:24:01 -07:00
Javen Wang
2b0be0c74b
a disabled suite should call resultCallback with status being disabled
...
close #574
2014-08-06 13:09:44 -07:00
Javen Wang
7ad261837a
disabled suite should still call onStart callback
2014-04-12 00:35:47 +08:00
Gregg Van Hove and Sheel Choksi
52026fb0f7
beforeAll/afterAll can be timed out and errors are applied to all children specs
2014-03-03 16:13:59 -08:00
Gregg Van Hove and Sheel Choksi
ec5695acc1
first (naive) pass at beforeAll/afterAll
2014-03-03 09:26:39 -08:00
Sheel Choksi and Tim Jarratt
29c5c127e5
Refactor Suite.addSpec and .addSuite to .addChild
2013-10-25 10:52:31 -07:00
Sheel Choksi and Tim Jarratt
26581b4c91
Rename Suite.children_ to .children
...
Also removed some unit tests that were brittle, and already tested by
better, more round-trip tests.
2013-10-25 10:25:50 -07:00
Sheel Choksi
6453ed656b
Suites just have children instead of separating into specs/suites
2013-10-24 16:35:00 -07:00
Gregg Van Hove and Tim Jarratt
1c19b8e38a
Move spec files back out of spec/javascripts
...
- Jasmine gem allows us to specify a path to jasmine.yml via ENV
[finish #58126010 ]
2013-10-02 16:32:35 -07:00
Gregg Van Hove and Rajan Agaskar
5017d1a4f1
Make rake jasmine:ci run specs correctly.
...
- Will replace rake core_specs.
- Remove obsolete dependencies & files -- most of these were for build tasks we
are no longer using. Notably, rspec and spec_helper were deleted.
2013-09-25 10:11:02 -07:00
Davis W. Frank & Sheel Choksi
3847557bbc
Squashed spy refactor and new spy syntax
...
Jasmine spies now have a 'and' property which allows the user to
change the spy's execution strategy-- such as '.and.callReturn(4)'
and a 'calls' property which allows inspection of the calls a spy
has received.
* This is a breaking change *
There is a CallTracker that keeps track of all calls and arguments
and a SpyStrategy which determines what the spy should do when it
is called.
2013-07-22 14:29:52 -07:00
Davis W. Frank
aca43bd3a3
Squashed commit of work to make Jasmine a collection of isolated modules. Note now that in our test suite, "jasmine" now always refers to the build jasmine loaded from jasmine.js and "j$" always refers to the code in the src directories.
...
Also, dev_boot.js is now a copy of boot.js and has additional changes to load jasmine the second time, into the j$ reference.
2013-05-28 14:09:20 -07:00
Davis W. Frank
3fc79bac9e
* Removed old Queue & Runner in favor of Suite using the new QueueRunner
...
* New reporter interface across all reporters
* xdescribe & xit now store disabled specs
* Rewrite of HtmlReporter to support new interface and be more performant
2013-02-19 11:45:05 -08:00
Davis W. Frank
05977203a6
Cleanup of Exception formatting (incl. better Browser support re:
...
toString;
NestedResults is dead, remove it from jasmine.yml
2013-02-19 11:37:13 -08:00
Davis W. Frank & Rajan Agaskar
74f928fd54
Re-add Mock Clock behavior as global 'clock'
...
- Use clock.install, clock.tick...
- Add unit coverage.
- Fixes old bug in function scheduler
2012-12-07 10:04:47 -08:00
Davis W. Frank & Rajan Agaskar
e2af08e0a6
Move most jasmine global usage into boot.
...
- thor build scripts broken for now.
2012-12-03 15:46:26 -08:00
Davis W. Frank
86b095e5a4
Src & Spec dirs now have same structure; console/, core/, and html/
2011-06-08 18:30:35 -07:00