Dan Hansen and Davis W. Frank
d6da13a8dd
Attempt at normalizing error stacks across browsers.
...
Failed expectations now have a `stack` property, remove `trace.stack`
2013-02-27 16:37:31 -08:00
Dan Hansen and Davis W. Frank
d6987a6c84
Cleanup
2013-02-26 13:39:06 -08:00
Dan Hansen and Davis W. Frank
98ae076f0c
* JsApiReporter - better inteface for getting spec results (it's a slice!)
...
* Removed RSpec dependency from running self_test/CI - includes using new Jasmine::Formatter::Console from the gem
*
2013-02-26 12:24:59 -08:00
Darwin
e6888b840d
Fixes #296 , Whitespace failures will now be esier to understand.
2013-02-26 12:41:19 +01:00
Dan Hansen and Davis W. Frank
10b09ea9f5
Moved dependencies out of HtmlReporter and into boot.js - QueryString for spec filtering and UI around raising exceptions checkbox; New object for handling spec filtering for browsers;
2013-02-19 15:29:50 -08:00
Dan Hansen and Davis W. Frank
af71f4d2f9
Remove vestiges of old HTMLReporter
2013-02-19 13:45:25 -08: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 & Rajan Agaskar
4ad43267ab
Update immediate goals.
...
- This commit should get rebased out before merging to master
2012-12-07 17:51:17 -08:00
Rajan Agaskar
43552494ee
Remove jasmine.CATCH_EXCEPTIONS
...
- HTMLReporters should be rewritten to make this sort of thing easier.
- Fix HTMLReporter try/catch switch
- We can't really call resultCallback & throw, so that's been reverted
for now.
2012-12-07 17:26:59 -08:00
Davis W. Frank & Rajan Agaskar
c2e1327f39
Permit HTMLReporter to render every 250ms
...
- This is necessary for the user to see spec results fill-in
progressively.
- There is a slight performance loss. 250 - 500ms seems to deliver the
same amount of loss. This is still at parity with Jasmine 1.x
2012-12-07 14:49:19 -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
cd3a0c854b
buildExpectationResult now returns a data object.
...
- Meant for passing to reporters.
2012-12-03 15:46:29 -08:00
dev
e74f09df9c
Fixing test runner failures in IE 6/7/8 whereby HtmlReporter.js bails out as we're using for (reserved keyword) as object property name. Fix is just to quote the name which allows IE6/7/8 to run the tests. I think this might also fix Issue #303 on main repo ( https://github.com/pivotal/jasmine/issues/303 )
2012-12-03 15:40:00 -08:00
Alex Kwiatkowski
1771ec3c63
Add checkbox to test runner which toggles catching of exceptions during tests
2012-06-24 00:02:52 -04:00
Davis W. Frank
4a1a2123a3
Fixes https://github.com/pivotal/jasmine-gem/issues/65 and https://www.pivotaltracker.com/story/show/24902023
2012-02-25 11:58:54 -08:00
Davis W. Frank & Sean Durham
ad4f48dcd4
Add new HTMLReporter
2011-11-04 14:43:19 -07:00
Davis W. Frank
c2ed71717f
Remove link to github page from Runner
2011-06-11 16:51:16 -07:00
Davis W. Frank
af7f1818b0
Revert back to the old jasmine.css
2011-06-05 21:55:51 -07:00
Davis W. Frank
7ead5388c2
merge in fixes to TrivialConsoleReporter: correct # of specs, no longer limited by column length
2011-05-25 08:14:18 -07:00
Davis W. Frank
0ef6582f73
Merging in sconover/jshint
2011-03-07 22:30:43 -08:00
Steve Conover
f41af6c2d0
jshint passes - run 'node jshint/run.js'. running jshint with a couple jshint options and workarounds to allow certain jasmine-specific styles. many actual style problems are fixed. the jshint run is integrated into rake jasmine:lint.
2011-02-26 15:07:59 -08:00
Christian Williams
377703745f
Making the checkboxes work fine on IE. onchange doesnt work very well with checkboxes there. The target is not set too.
...
Original author: Fabio M. Costa <fabiomcosta@gmail.com >
2010-10-05 13:27:50 -07:00
Christian Williams
2d10cc1404
IE doesn't have console.log.apply(); fall back to console.log() in that case.
2010-10-05 13:11:27 -07:00
Christian Williams
cc36a1808b
Add link to jasmine site from html runner.
2010-09-12 13:11:33 -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