All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.9.2 (2023-06-19)
0.9.1 (2023-04-08)
- UI: prevent Firefox from getting stuck and hiding expanded elements (1b3b273)
- UI: restore indentation of nested tests in UI (6b12575)
0.9.0 (2023-04-07)
- remove deprecated pre-selection setting
- remove deprecated
Quench#runAllBatches
and its options
-
add setting shortcut to QuenchResults header buttons (a57234c), closes #256
-
improve display of errors thrown in hooks (ecda47c)
-
remove deprecated
Quench#runAllBatches
and its options (62a3595) -
remove deprecated pre-selection setting (095fb60)
0.8.1 (2022-08-01)
- only run all batches when no keys are provided at all (e053a73)
- prevent errors in diff generation when encountering
undefined
(ed50c8a)
0.8.0 (2022-08-01)
- deps: bump fast-check from 2.25.0 to 3.1.1 (#156)
- replace preselect packages with preselect filters
- refactor
runSelectedBatches
,_testBatches
, and utils
- add JSON report generation (6c41d48)
- enable batch key filtering in settings and
quench.runBatches
(397c8e3) - improve diff context trimming (e84cbd4)
- improve diff readability (4874eea), closes #147
- improve error message spacing (c064cb2), closes #146
-
improve diff detection and display (353e1d4)
-
refactor
runSelectedBatches
,_testBatches
, and utils (fb7f286)
0.7.0 (2022-05-26)
- add option to only run preselected batches on startup (18a59ec), closes #117
- add preselected packages setting to limit test preselection (582d37c), closes #117 #133
- fix appearance of Quench button in collapsed sidebar (1303d51)
- fix registerBatch throwing an error in v10 (#125) (45ca352)
- improve diff layout, limit shown context, improve styling (9d07b1b), closes #132
0.6.0 (2022-02-23)
- Export types as ES module
-
allow setting initial checked status at batch registration (11c47b3)
-
display diffs for errors containing actual and expected values (044f7af)
-
introduce fast-check for property based testing (d834d33)
-
add additional linting rules (0668ae2)
0.5.2 (2021-11-05)
- improve snapshot upload performance, allow updating after runs (223c270)
- provide detailed overview for uploaded files in console (528194e)
- prevent snapshot updates from accumulating with runs (f617bb5)
- snapshots: Quench now uses fnv1a for hashing, which means new hashes will differ from previous ones, breaking the current association of test to file (732bb2a)
- The
clearWorld
utility function did not actually work after getting updated to use Documents
- Added snapshot support
- The basic assertion function is
matchSnapshot
, which can be used like this:expect({foo: "bar"}).to.matchSnapshot()
- Snapshots are stored in Foundry's
Data/__snapshots__/<package name>
directory by default - In this
snapBaseDir
, each batch gets its own directory, in which each test's snapshot is stored in their own file named by the test's hash - The snapshot directory default can be overwritten by setting a
snapBaseDir
option in the batch registration options
- The basic assertion function is
autoRun
tests are now guaranteed to start after theready
hook is fired
- The
quenchReady
hook is now deprecated- To remain compatible with old batch registration for now, the
quenchReady
hook is still fired in Foundry'ssetup
hook
- To remain compatible with old batch registration for now, the
- The
quench
global is now guaranteed to get initialised in theinit
hook and can be used afterwards - Registering a batch whose name does not belong to a package will now trigger a UI warning
- Debounce page reloads when the example tests setting is changed.
- Pre-run
chai.should
and only pass its resulting helper into the context.
- Replace entity references with document ones to match Foundry's Document usage.
- Now works with Foundry 0.8.x.
- Bumped mocha to 9.1.2 and chai to 4.3.4.
- Merged the two init hooks into one.
- Cleaned out globalThis juggling, which wasn't working.
- Had to slightly tweak mocha itself to keep window.ui from clobbering mocha.ui.
- Include
chai.expect
andchai.should
to the testing context, so they can be used as an alternative tochai.assert
. (thanks @cramt for the addition)
- Some formatting improvements for the Quench window.
- Add some new convenience settings:
- collapseSuccessful: collapses suites for which all children passed
- autoShowQuenchWindow: shows the quench results window immediately on startup
- autoRun: runs all registered quench test batches immediately on startup
- Add
runAllBatches
method onQuench
- This will run all batches, regardless of what may or may not be selected in the quench UI
Initial Release