Releases: Ethaks/FVTT-Quench
Releases · Ethaks/FVTT-Quench
Version 0.9.2
Version 0.9.1
Version 0.9.0
Version 0.8.1
Version 0.8.0
0.8.0 (2022-08-01)
⚠ BREAKING CHANGES
- deps: bump fast-check from 2.25.0 to 3.1.1 (#156)
- replace preselect packages with preselect filters
- refactor
runSelectedBatches
,_testBatches
, and utils
Features
- 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
Bug Fixes
Version 0.7.0
Version 0.6.0
Version 0.5.2
Version 0.5.1
0.5.1 (2021-10-27)
⚠ BREAKING CHANGES
- 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)
Version 0.5.0
Bug Fixes
- The
clearWorld
utility function did not actually work after getting updated to use Documents
Features
- 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
API
- 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