Steve Gravrock
6449832e7e
rm redundant and long-disabled test for toEqual with DOM nodes
2025-08-29 06:57:32 -07:00
Steve Gravrock
39f9c2e1a0
Don't attach spec helpers to the env
2023-08-26 11:52:26 -07:00
Steve Gravrock
ff93277c0f
Accessibility: Always provide a non-color indication that a spec is pending
2023-04-29 11:45:21 -07:00
Steve Gravrock
1166d10e43
Use const/let in specs, not var
2022-04-16 13:41:44 -07:00
Steve Gravrock
b8dabf96ff
HTML: Include top suite failures in the reported failure count
2021-12-03 08:18:18 -08:00
Steve Gravrock
40fac8b6a2
Renamed the trace feature to debugLog[s]
...
"trace" was ambiguous and could easily be understood to have something
to do with stack traces.
2021-12-02 14:46:56 -08:00
Steve Gravrock
42e6c45efa
Allow use without creating globals
...
* Fixes #1235
2021-11-29 20:37:07 -08:00
Steve Gravrock
47081258cd
Revert "Revert "Added the ability to associate trace information with failing specs""
...
This reverts commit fdad8849df .
2021-10-02 09:56:25 -07:00
Steve Gravrock
6e10f22403
Don't display late errors as AfterAll errors in the HTML reporter
2021-09-11 08:57:50 -07:00
Steve Gravrock
d8862aa583
Removed the failFast and oneFailurePerSpec config properties
2021-07-31 09:28:14 -07:00
Steve Gravrock
2480a0a93a
Merge branch '3.99' into 4.0
2021-07-31 09:15:12 -07:00
Steve Gravrock
058e77b824
Merge branch 'main' into 3.99
2021-07-31 08:15:29 -07:00
Steve Gravrock
b696bec9e3
Renamed failFast and oneFailurePerSpec config props to stopOnSpecFailure and stopSpecOnExpectationFailure
...
The new names are more self-explanatory and consistent with jasmine-npm. The
old names are deprecated but still work.
[#178682783 ]
2021-07-31 07:51:50 -07:00
Steve Gravrock
fe0a83ba87
Removed support for Internet Explorer
2021-07-23 21:46:15 -07:00
Steve Gravrock
6cb9507f62
Merge branch 'main' into 3.99
2021-07-10 08:58:14 -07:00
Joris Stolwijk
e4c7d8af45
new attempt for fixing #1906 : add window.location.pathname to hrefs + comments + fixed tests
2021-06-29 14:03:25 +02:00
Steve Gravrock
ee88ecc614
Revert "add url pathName in toQueryString function - fixes ( https://github.com/jasmine/jasmine/issues/1906 ) + comment + test"
...
Reverted because it breaks the option checkboxes in the HTML reporter, both
in the standalone distribution and in jasmine-browser-runner.
Reopens #1906 .
This reverts commit 1e4f0d1545 .
2021-06-28 12:42:05 -07:00
Joris Stolwijk
1e4f0d1545
add url pathName in toQueryString function - fixes ( https://github.com/jasmine/jasmine/issues/1906 ) + comment + test
2021-06-14 15:05:12 +02:00
Steve Gravrock
f2de1be96a
Fixed "stop spec on expectation failure" checkbox in standalone
...
Fixes [#178248968 ].
2021-06-01 08:49:34 -07:00
Steve Gravrock
6a2a30d540
Improved & unified deprecation handling
...
* De-duplication now happens in core, not in reporters. This ensures that
the console doesn't get flooded.
* Stack traces are opt-out, not opt-in.
* The current runnable is not reported or logged for certain deprecations
where it's irrelevant.
* HtmlReporter shows stack traces in expandable widgets.
* Env#deprecated and Env#deprecatedOnceWithStack are merged.
2021-05-29 15:39:28 -07:00
Steve Gravrock
7d5ca27b9d
Check for forgotten console and debugger statements
2020-09-17 13:33:25 -07:00
Steve Gravrock
e7daa429a1
Show the name of the spec/suite that caused a deprecation
2020-09-13 12:59:25 -07:00
Steve Gravrock
78c3a007ad
Fixed test failure in Firefox 74
2020-04-11 12:08:49 -07:00
Steve Gravrock
c2ada1af95
Merge branch 'custom-object-formatters' into cof-merge-candidate
2020-02-11 13:51:17 -08:00
Steve Gravrock
1f23f1e4d2
Inject a per-runable pretty printer into MatchersUtil
...
This will allow us to add support for custom object formatters, which
will be a per-runable resource like custom matchers, by injecting them
into the pretty-printer.
2020-02-10 17:26:00 -08:00
Steve Gravrock
7f392d188e
Don't leak global error handlers between Jasmine's own tests
2020-01-20 10:18:29 -08: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
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Steve Gravrock
17a9a6417a
Fixed test failure in Firefox 66.0.2
2019-05-04 10:51:34 -07: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
SamFare
92d33c79c7
Implemented hiding of disabled specs
2018-05-22 13:30:33 +01:00
Gregg Van Hove
ced2b114e4
Better detection of DOM Nodes for equality
...
- Also use JSDom if a real one isn't present to get some more coverage
there
- Fixes #1172
2018-05-04 18:01:08 -07:00
sylhare
7fb53dcdfa
Fixing missing semi-colons
2018-02-21 09:01:24 -05: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
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
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
Gregg Van Hove
414e03bded
Setup createSpy in all specs where needed and finish renaming params
...
Signed-off-by: Elenore Bastian <ebastian@pivotal.io >
2018-01-22 14:21:52 -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
f38527ff15
Removed IE 8 compatibility cruft from HtmlReporterSpec
2017-12-19 11:29:21 -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
b6cc34d9e9
Correctly remove spies of window.onerror on IE
2017-12-18 16:34:37 -08:00
Steve Gravrock
2d33765cbf
Dogfood the toHaveClass matcher
...
[#153567695 ]
2017-12-11 16:00:29 -08:00
Steve Gravrock
bb0992bf5f
Added a toHaveClass matcher
...
[#153567695 ]
2017-12-11 15:59:59 -08:00