Steve Gravrock
7ba53b25f7
Bump version to 5.12.0
2025-10-05 12:02:56 -07:00
Steve Gravrock
dbc1f9244e
Revert "Clicking a link in the HTML reporter does exact filtering"
...
This change broke spec filtering in Karma by changing the format of the
`spec` query parameter. Although karma-jasmine-html-reporter uses
jasmine-core's HtmlSpecFilter, karm-jasmine provides its own spec filter
that interprets the query parameters itself.
This feature may be reintroduced in 6.0 as a breaking change.
This reverts commit 8309416cb2 .
2025-10-05 09:59:36 -07:00
Steve Gravrock
489b83c61b
Revert "Move knowledge of query parameters out of boot1.js"
...
This reverts commit 6715f24fd0 .
2025-10-05 09:54:25 -07:00
Steve Gravrock
0688db88e9
Bump version to 5.11.0
2025-09-26 16:53:15 -07:00
Steve Gravrock
124effe04b
API reference docs for QueryString
2025-09-17 20:22:47 -07:00
Steve Gravrock
418e9a7728
Convert QueryString to an ES6 class
2025-09-17 18:35:01 -07:00
Steve Gravrock
6715f24fd0
Move knowledge of query parameters out of boot1.js
2025-09-17 18:23:45 -07:00
Steve Gravrock
fa481b2bd1
API reference docs for HTML reporter and spec filters
2025-09-17 07:30:34 -07:00
Steve Gravrock
8309416cb2
Clicking a link in the HTML reporter does exact filtering
...
This feature requires an update to boot1.js, as shown in this commit.
Users with an older boot1.js will get the older inexact filtering.
2025-09-17 07:30:20 -07:00
Steve Gravrock
4ccc7bf3ac
Document the order property of jasmineStarted and jasmineDone
2025-09-15 18:38:09 -07:00
Steve Gravrock
0bf9aff195
Extract configuration out of Env
2025-09-07 15:53:24 -07:00
Steve Gravrock
55b2e8846f
Disambiguate options params in Env
2025-09-06 13:04:32 -07:00
Steve Gravrock
3493519c9f
Fixed global error handling when the env is executed repeatedly
2025-09-06 10:32:56 -07:00
Steve Gravrock
62b5698a99
Clean up TreeRunner onComplete callback
2025-09-06 09:42:39 -07:00
Steve Gravrock
98849882a2
rm TODO comment about integrating detectLateRejectionHandling with clearStack
...
In theory, resetting clearStack's inline call count every time late
rejection handling does a setTimeout should reduce the performance penalty
in some environments. In practice, it doesn't:
* In Chrome and FF, late rejection handling has no measurable penalty.
* In Safari, resetting the inline call count actually slows things down
considerably(!).
* In Node, clearStack doesn't use setTimeout so there is no benefit.
2025-09-06 08:32:37 -07:00
Steve Gravrock
6665c4e123
Don't remove before and after fns from the top suite
2025-09-02 10:23:44 -07:00
Steve Gravrock
3698f6fb5d
Support detectLateRejectionHandling in beforeAll and afterAll
2025-09-02 09:58:46 -07:00
Steve Gravrock
60f34ec087
Unify top suite and regular suite execution
2025-09-02 08:05:30 -07:00
Steve Gravrock
ca4fbcbccb
Clarify what's currently treated as private vs internal in Suite and Spec
2025-09-01 08:58:32 -07:00
Steve Gravrock
e1532be726
Convert Suite and SuiteMetadata to ES6 classes
2025-09-01 08:58:32 -07:00
Steve Gravrock
54465f6f6a
Convert Spec to an es6 class
2025-09-01 08:58:32 -07:00
Steve Gravrock
af4662ad31
Bump version to 5.10.0
2025-08-30 13:36:12 -07:00
Steve Gravrock
3bcbc2e3af
Tweak spec duration margin
2025-08-30 12:37:15 -07:00
Steve Gravrock
fbaba902dc
Merge branch 'bonkevin-html-reporter-with-duration'
...
* Merges #2073 from @bonkevin
* Adds spec duration to HTML reporter
2025-08-30 12:35:54 -07:00
Steve Gravrock
bf2e8e759e
Merge branch 'bonkevin-spec-suite-properties-accessors'
...
* Merges #2072 from @bonkevin
* Adds Env#getSpecProperty
2025-08-30 12:31:40 -07:00
Steve Gravrock
50e566bd67
Move beforeAll failure reporting into TreeRunner
2025-08-30 07:42:29 -07:00
Steve Gravrock
db65c3b131
Fold TreeRunner#runQueueWithSkipPolicy into caller
2025-08-25 18:43:54 -07:00
Steve Gravrock
12219e80c1
Move spec execution from Spec to TreeRunner
2025-08-24 14:05:22 -07:00
Steve Gravrock
a980ae6bf2
Extract spec state management out of Spec#execute
2025-08-24 14:05:22 -07:00
Steve Gravrock
3780fe0b35
Convert some TreeRunner internals to promises
2025-08-24 14:04:47 -07:00
Steve Gravrock
164a393932
Move spec begin and end handling from Env/SuiteBuilder to TreeRunner
2025-08-23 09:03:57 -07:00
Steve Gravrock
f94d0ceda9
Validate queueableFns
2025-08-23 09:03:38 -07:00
Steve Gravrock
8d99f27be8
Throw an Error rather than a string when createSpyObj is called incorectly
2025-08-23 08:19:11 -07:00
Steve Gravrock
63774597f0
Extract tree running out into a separate class
2025-08-18 16:50:04 -07:00
Steve Gravrock
a3e1abfa12
Split the resulting execution tree out from TreeProcessor
2025-08-17 11:44:52 -07:00
Steve Gravrock
b89a870a59
Test TreeProcessor's public interface, not internal state
2025-08-17 11:44:37 -07:00
Steve Gravrock
ea3fc88803
Remove mutual recursion between Runner and TreeProcessor
2025-08-17 11:44:36 -07:00
Steve Gravrock
d5884e33c6
Move suite execution and spec queueRunner building from TreeProcesor to Runner
...
This:
* Sets the stage for getting suite and spec execution in one place
* Greatly simplifies the interaction between Runner and TreeProcessor
* Focuses TreeProcessor more on building execution trees
2025-08-17 11:43:00 -07:00
Steve Gravrock
2299c85751
Deprecate spec/suite orders that interleave suites
2025-08-13 19:02:36 -07:00
Steve Gravrock
8e3ec25f6d
Move invalid order exception throw into TreeProcessor
2025-08-13 18:30:51 -07:00
Steve Gravrock
b009cd2922
Convert TreeProcessor to a class
2025-08-12 18:23:57 -07:00
Steve Gravrock
8eee6ebb91
Runner: naming improvements, use private members
2025-08-11 23:22:07 -07:00
Steve Gravrock
c15a1aaa6d
Rename queueRunnerFactory to runQueue throughout
2025-08-11 23:05:56 -07:00
Steve Gravrock
5b06531cac
Prevent GloablErrors from being monkey patched
...
All current shipped versions of zone.js contain a monkey patch that fails
to pass constructor arguments on to GlobalErrors. That would crash Jasmine
if it was applied early enough to have any effect.
See <https://github.com/angular/angular/issues/63072 >.
2025-08-11 18:08:47 -07:00
Steve Gravrock
42cca93926
Minor jsdoc cleanup
2025-08-09 08:35:49 -07:00
Steve Gravrock
395ef85954
Optionally detect late promise rejections and don't report them as errors
2025-08-09 08:35:08 -07:00
Steve Gravrock
5e88fde655
Backfill some unit tests for Runner's interaction with TreeProcessor
2025-07-29 09:59:45 -07:00
Steve Gravrock
bb777e93e5
Bump version to 5.9.0
2025-07-19 08:27:17 -07:00
Steve Gravrock
9d3fb167a2
Document that the filename property of suite and spec results is deprecated
...
See <https://github.com/jasmine/jasmine/issues/2065 >.
2025-07-19 06:54:54 -07:00
Steve Gravrock
3176eaf1d8
Merge branch 'idConflict' of https://github.com/atscott/jasmine
...
* Avoid generating timers with IDs that conflict with native
* Fixes #2068
* Merges #2069 from @atscott
2025-07-15 16:50:57 -07:00