Davis W. Frank
a9eaa66da5
removing the exception formatter from the util namespace
2012-12-09 09:29:05 -08:00
Davis W. Frank & Rajan Agaskar
be6b87a31b
Remove obsolete NestedResults
2012-12-07 17:37:20 -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
a1011e7748
Rewrite Spec & allow Jasmine to be namespaced
...
- THere seems to be a performance regression. Large test suites may
throw
- Regressions: Mock Clock won't install correctly, async specs are
temporarily not supported.
- Async spec runs/waits interface is gone. Blocks are gone.
- Move most global usage into jasmine.Env constructor.
- Remove optional 'Jasmine running' from HtmlReporter -- caused
NS_FACTORY_ERROR in firefox when tested
2012-12-06 09:10:24 -08:00
Davis W. Frank & Rajan Agaskar
779dee1211
Remove results from Queue
...
- consequently, Runner & Suite no longer have results.
- Results come back to reporters from Spec, we should not have a need to
walk them later via suite/runner (in fact, no reporter used results on
suite/runner -- only bad tests)
- Remove/clean up tests relying on #results
- Remove integration tests that duplicate already tested behavior
2012-12-03 15:57:16 -08:00
Davis W. Frank & Rajan Agaskar
dfed37531e
Add unit coverage for ExpectationResult
2012-12-03 15:46:29 -08:00
Davis W. Frank & Rajan Agaskar
8d94d0bfc5
Move ExpectationResult into its own file
2012-12-03 15:46:28 -08:00
Christopher Mitchell
b527ccd2fa
Fix swapped template values in build_standalone_runner.rb.
...
`example_source_tags` and `example_spec_tags` each returned what the other
should have returned. I noticed this bug because it made the comments in
SpecRunner.html about where to include spec and source files incongruous with
the example tags that followed.
2012-12-03 15:40:00 -08:00
Kevin Connor
cfa95fcf2c
create downloads dir if needed during build_standalone_distribution
2012-12-03 15:40:00 -08:00
Davis W. Frank
7bbcf51d45
Removed Frank for GHPages generation. Now using Rocco and a Thor task to build it
2012-05-27 13:16:20 -07:00
Davis W. Frank
079740ca2c
Make Thor tasks more visible; Init Pages submodule when not present if about to run tests that require it
2012-04-09 22:21:09 -07:00
Davis W. Frank
d63836afb4
Fix for copying built Github pages to the submodule properly
2012-04-02 18:33:38 -07:00
Mark Rushakoff
d15964b7dc
fix JasmineDev#has_node? for Ruby 1.8.7
2012-04-01 15:44:36 -07:00
Davis W. Frank
bab4538404
Fix to name the standalone distribution from the version number
2012-04-01 13:11:53 -07:00
Davis W. Frank
06d191af74
Merge branch 'master' of github.com:pivotal/jasmine
2012-04-01 13:08:55 -07:00
Davis W. Frank
ad78d0d0d8
Fixed bug where version for Ruby gem wasn't correct
2012-04-01 13:08:42 -07:00
Mark Rushakoff
3e0cad41f5
Remove remaining references to term-ansicolor
2012-04-01 12:30:38 -07:00
Davis W. Frank
3a0ada034b
Move sources order to Ruby, which is where it's used.
2012-04-01 11:28:57 -07:00
Davis W. Frank
674197aef8
Removed TermAnsiColor gem (uses GPL and isn't needed anymore)
2012-04-01 10:51:04 -07:00
Davis W. Frank
626da5a112
Re-implemented all development Rake tasks in Thor. Now actually tested.
...
Fixes:
* https://www.pivotaltracker.com/story/show/25484287 & https://github.com/pivotal/jasmine/issues/183
* https://www.pivotaltracker.com/story/show/25485401 & https://github.com/pivotal/jasmine/issues/189
* https://www.pivotaltracker.com/story/show/25485953 & https://github.com/pivotal/jasmine/issues/159
2012-04-01 10:47:29 -07:00
Dane O'Connor
94a153ed15
add linux support to rake spec:browser
2012-01-03 17:12:20 -05:00
gvanhove
d70e733f70
remove unwanted spaces in it calls, and make the spec counting regex tolerate them if they exist so counts match even when using bad style
2011-11-14 18:43:13 -08:00
Davis W. Frank & Sean Durham
ad4f48dcd4
Add new HTMLReporter
2011-11-04 14:43:19 -07:00
Davis W. Frank
620f7b6e4c
Updates to Pages; Updates to docs;
2011-06-23 19:02:17 -07:00
ragaskar
b722f416c7
Write out version.rb on dist build
2011-06-23 07:55:04 -04:00
Davis W. Frank
67b6cfb828
Improve the rake standalone task
2011-06-20 18:27:57 -07:00
Davis W. Frank
c0664dd6aa
merge
2011-06-20 08:46:37 -07:00
ragaskar
30431a3958
Gem-ize jasmine
...
[Finishes #13128217 ]
2011-06-17 21:01:42 -04:00
Davis W. Frank
a692ff8c95
Need HAML in the Gemfile; continued fixes to the Rake tasks
2011-06-17 08:20:22 -07:00
Davis W. Frank
0b97951766
Better coloring of output of Rake tasks; Turn off colored output in Rake tasks if not on a TTY (not sure if it works in Hudson); Add support to TCR for turning off colors since there is code to calc options but it wasn't used; NOTE: coloring in TCR should be MUCH better tested.
2011-06-16 22:34:11 -07:00
Davis W. Frank
75dd391d57
should fix red build
2011-06-16 08:33:59 -07:00
Davis W. Frank
ae24e00c0f
Support for release candidates in the version.json file; propagates up through the version string everywhere: filenames, ZIP, source code
2011-06-15 18:37:12 -07:00
Davis W. Frank
6b2e45eab5
Refactor of standalone build tasks; Better templating of the core runner.html and the example SpecRunner.html
2011-06-15 09:15:40 -07:00
Davis W. Frank
e59171935f
breaking up distribution tasks; moving version to a template to have a simpler concat function
2011-06-14 08:30:14 -07:00
Davis W. Frank
2ba0aa371c
Refactor how the distribution is built
2011-06-13 08:23:10 -07:00
Davis W. Frank
15763c2eb0
Output number of expected specs for browser, node before running specs. NOTE: We distribution tasks still broken.
2011-06-11 15:59:34 -07:00
Davis W. Frank
f83cb7f766
Runner.html is now generated (ensures all source & specs get tested); beginnings of refactoring of Rake tasks.
2011-06-09 19:24:51 -07:00