Steve Gravrock
1e7b68236b
Parallel: forbid beforeEach/afterEach at the top level of spec files
...
Each spec file is only loaded in a single worker, so top level
before/afterEach can't behave consistently.
beforeEach/afterEach are still supported in:
* Helper files
* describe() blocks
* At the top level of spec files in non-parallel mode
2022-10-11 19:25:39 -07:00
Steve Gravrock
6ada55ff77
Parallel: Fixed reporting of exceptions thrown by a describe
2022-09-18 12:10:34 -07:00
Steve Gravrock
7c2e8ce7ca
Merge branch 'main' into parallel
2022-09-17 13:26:37 -07:00
Steve Gravrock
d4025999b7
Report exceptions thrown by a describe before any it calls
...
Previously, these were masked by the "describe with no children" error.
Now they're reported as suite level errors on an empty suite.
2022-09-17 13:24:45 -07:00
Steve Gravrock
3a43871901
Reset the env state between parallel batches
2022-08-06 10:55:02 -07:00
Steve Gravrock
d8b65028a1
Pass queue runner factory to Spec#execute, not ctor
2022-06-12 12:34:46 -07:00
Steve Gravrock
d6cdc1841c
Extracted suite building out of Env
2022-06-12 09:49:01 -07:00