All notable changes to the "test-util" will be documented in this file.
- Update tooling and configurations.
- Migrate to
@gmjs/file-system
. - Add utility functions for measuring pefromance (time).
- Update dependencies.
- Refactor, improve and simplify the
getFileSystemTestCaseRuns
function, and rename it tocreateFsTestCases
. - Remove all other functions from the public API.
- Fix an issue with 'missing files' for file comparison tests.
- Change the format of the
pathMapping
JSON. File mappings are now grouped into arbitrary groups. - Improve validation of path mapping JSON.
- Update dependencies.
- Use platform-agnostic join for paths.
- Update dependencies.
- Update publishing process.
- Format code with
prettier
.
- Breaking: Test functions using will calculate the difference between actual and expected files, and fill in the other list with placeholder files for cleaner diffs.
filesToTestString
now accepts an additionalmissingFiles
parameter.
- Breaking: Change
runFileComparisonTestBody()
togetFileSystemTestCaseRuns()
to haveoptions
parameter.
- Breaking: Rename
fileComparisonTestBody()
torunFileComparisonTestBody()
. - Breaking: Change input parameters of
filesToTestString()
. It now accepts a singlefiles: FilesContainer
parameter.
- Add
getFileSystemTestCaseRuns()
function.
- Update dependencies.
- Breaking: Rename
findFsTestCaseDirectories
tofindFileSystemTestCaseDirectories
. Similar rename to it'soptions
parameter interface name.
- Add
fileComparisonTestBody()
function.
- Breaking: Change return value for
readFakeFiles()
function.
- Add
findFsTestCaseDirectories()
function.
- Breaking: Update
filesToTestString()
andreadFakeFiles()
functions.
- Add
filesToTestString()
andreadFakeFiles()
functions. - Add everything else needed for intial release.