Alex Parloti
9a7dfb15d2
fix #26
...
fix #26
Returning false will cause 'zone.js' to invoke e.preventDefault(), preventing the page from reloading.
2020-04-02 21:01:56 +02:00
Dmitriy T
7263a38c3f
Adds new configuration option to failSpecWithNoExpectations that will report specs without expectations as failures if enabled
2019-09-05 09:47:38 -07:00
Gregg Van Hove
3e888105f0
Calculate total suite run time inside the env and report in jasmineDone
2019-06-14 14:59:33 -07:00
Gregg Van Hove
984018bfdf
Make no expectations in HTML Reporter message a warning
...
- Fixes #1704
2019-06-12 13:31:25 -07:00
Gregg Van Hove
8da1fd1ed1
Merge branch 'master' of https://github.com/pixelpax/jasmine into pixelpax-master
...
- Merges #1713 from @pixelpax
2019-05-30 17:47:16 -07:00
Gregg Van Hove
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Gabriel Elkind
4e10cf84d5
Adds in the source-- whoops!
2019-05-20 23:51:29 -05:00
Elliot Nelson
1e855aa9b8
Cleanup: whitespace
2019-05-18 08:10:11 -04:00
wood
828d14f48e
Use node.js for browser-based CI
2019-03-25 17:55:53 -07:00
Gregg Van Hove
7c0f013003
Merge branch 'johnjbarton-noop-timer'
...
- Merges #1669 from @johnjbarton
2019-03-13 17:34:12 -07:00
johnjbarton
ca2b62b00e
refactor(Timer): share htmlReporter noopTimer via Timer.js
2019-03-12 16:26:04 -07:00
Matthias Jenny
705a6508d4
Add status marks to standalone
2018-09-26 21:10:20 -04:00
Gregg Van Hove
92d0882a32
Introduce a configuration object to Env deprecating old single use functions
...
[finishes #159158038 ]
2018-09-25 17:08:41 -07:00
Gregg Van Hove
3636014917
Merge branch 'hide-grey-specs' of https://github.com/SamFare/jasmine into SamFare-hide-grey-specs
...
- Merges #1561 from @SamFare
2018-05-23 17:15:40 -07:00
SamFare
92d33c79c7
Implemented hiding of disabled specs
2018-05-22 13:30:33 +01:00
Steve Gravrock
e2d9eefccd
Line-break long expectation failure messages
...
This makes failures somewhat easier to read. We still preserve whitespace
within lines to make whitespace-only failures readable, e.g.
expect('foo bar').toEqual('foo bar'). See #296 .
2018-05-12 09:42:38 -07:00
Steve Gravrock
7f1cdc2d02
Fixed global variable leak
...
- Fixes #1534
2018-03-25 12:00:56 -07:00
Steve Gravrock
11827572d3
Moved toHaveClass matcher into core so that it can be used in Karma
...
- Fixes #1503
2018-02-13 17:09:42 -08:00
Gregg Van Hove
764d58a7f5
Merge branch 'master' into 3.0-features
...
- cleaning up 2.99 deprecations
2018-02-06 09:31:51 -08:00
Gregg Van Hove
32f99ef99d
Use Jasmine's arrayContains to look for duplicate deprecations
...
[#154746527 ]
2018-02-05 14:24:14 -08:00
Gregg Van Hove
c142490c69
Add deprecation messages for things that will change/break in 3.0
...
[#154746527 ]
2018-02-05 14:01:46 -08:00
Gregg Van Hove
24bf3489dc
Display deprecation warnings in HTML reporter
...
- Also no longer check for stack since IE doesn't do that
[#154746527 ]
2018-02-05 12:11:36 -08:00
Gregg Van Hove
0eca06a33b
Now pass a navigation helper to HtmlReporter instead of click handlers
2018-01-30 14:30:28 -08:00
Gregg Van Hove
e15f273f06
Replace old "catch exceptions" logic with proper fail fast with error reporting
...
- Option is called stopOnSpecFailure
[#85966014 ]
- See #414
- See jasmine/jasmine-npm#16
2018-01-30 11:36:56 -08:00
Gregg Van Hove
341c6df6ea
Fix HTML reporter display for excluded specs
2018-01-29 10:00:15 -08:00
Elenore Bastian
3df9cc26d4
Update css for new reporter status
...
Signed-off-by: Gregg Van Hove <gvanhove@pivotal.io >
2018-01-26 15:27:35 -08:00
Elenore Bastian
07996b567f
Suite level errors are reported in failures list
...
[#150118881 ]
Signed-off-by: Gregg Van Hove <gvanhove@pivotal.io >
2018-01-23 15:39:11 -08:00
Steve Gravrock
cf2f922e30
Merge branch 'master' into 3.0-features
2018-01-10 15:28:55 -08:00
Steve Gravrock
b943f6b736
Fixed SPEC HAS NO EXPECTATIONS warning in HTML reporter
...
[Finishes #153891435 ]
2017-12-23 11:14:37 -08:00
Steve Gravrock
b439e2fb37
Extracted results state management out of the HTML reporter
...
[#153891435 ]
2017-12-23 11:12:38 -08:00
Steve Gravrock
d742ada71d
Added links to re-run the suites containing a failing spec
...
[Finishes #25508053 ]
2017-12-19 11:29:18 -08:00
Steve Gravrock
bb0992bf5f
Added a toHaveClass matcher
...
[#153567695 ]
2017-12-11 15:59:59 -08:00
Steve Gravrock
db615e4186
Determine overall status in core, not reporters
...
[#92261606 ]
[#78679648 ]
2017-11-17 14:24:12 -08:00
Steve Gravrock
1526d5e2a8
Treat afterAll errors at any level as failures
...
[Finishes #152492514 ]
2017-11-07 20:48:23 -08:00
Steve Gravrock
82eeed3c85
Improved reporting of load errors and afterAll errors
...
- Pass file and line number to reporters when present
- Show file and line number in the HTML reporter when present
- Visually separate adjacent errors in the HTML reporter
[#24901981 ]
2017-11-04 10:28:42 -07:00
Steve Gravrock
26a7bc6acf
Report loading errors as loading errors, not afterAll errors
...
[#24901981 ]
2017-11-01 14:09:29 -07:00
Steve Gravrock
7b8edcb401
HTML reporter reports overall failure if there are any global errors
...
[#24901981 ]
2017-11-01 11:44:58 -07:00
Gregg Van Hove
de862f8133
Only clear out the spec param for Run all link
...
- Fixes #1369
2017-06-16 14:07:40 -07:00
Gregg Van Hove
f5cfa2a4c1
Merge branch 'master' of https://github.com/d-reinhold/jasmine into d-reinhold-master
...
- Merges #1046 from @d-reinhold
- Fixes #510
2016-11-04 10:29:09 -07:00
Chris Amavisca
15f92b226c
Update devDependencies and fix issues from this
...
- Point to npm released version of jasmine node runner
2016-07-20 20:11:52 -07:00
Dominick Reinhold
d1a94bcf50
When the HtmlReporter has a 'spec' query param, the spec list only shows matching specs/suites
2016-02-28 22:47:10 -08:00
Gregg Van Hove
b6798cdb06
Html Reporter shows error bar for errors from a global afterAll
...
Issue #811
2016-02-25 16:12:15 -08:00
Blake Sawyer
ee0ff3b6c8
Persist randomize param in 'run all' links
2016-01-14 20:58:15 -05:00
Gregg Van Hove
141fd910f2
Use className instead of class when creating DOM elements
2015-10-06 09:10:22 -07:00
Gregg Van Hove
4221b2d2c4
Merge branch 'random-tests' of https://github.com/marcioj/jasmine into marcioj-random-tests
2015-10-04 14:03:17 -07:00
James
80c4f87dd5
Fix circles/x from getting cut off on Mac/chrome
2015-09-27 17:01:08 +04:00
Marcio Junior
3f3fa484b2
Allow tests to run in random order
2015-09-26 14:53:08 -03:00
Gregg Van Hove
375a6f9fda
Merge branch 'danielalexiuc-master'
...
- Fixes #924
- Fixes #917
2015-09-24 12:58:56 -07:00
danielalexiuc
c017f0000d
Postpone find() until it is needed
...
This is a fix for issue #917 .
It seems that 'symbols' was originally included as a performance optimization, to avoid repeated find() calls for '.jasmine-symbol-summary'. However this find() occasionally fails during initialize if the dom has not loaded completely.
This change will not affect performance, as symbols is still cached. However it improves upon the original code in that the find happens at a stage much later than initialize.
2015-09-16 11:52:05 +10:00
Matt Prather
42ad12ec52
Make the HtmlReport CSS classes "unique enough"
...
The only difference between this commit and the previous is that I have
used a difference scheme for naming Jasmine CSS classes.
Instead of appending "_jasmine-css" to all Jasmine CSS selectors, I have
now preprended "jasmine-" instead.
2015-05-14 14:23:06 -07:00