Skip to content

v3.0.0

Choose a tag to compare

@unional unional released this 25 Aug 04:05
· 117 commits to main since this release

3.0.0 (2022-08-25)

Bug Fixes

Features

  • adjust folders to paths (92cce46)

BREAKING CHANGES

  • context behavior changed

The handler context now contains case|baseline|resultPath instead of folder.

The behavior for file-case and folder-case are now the same.

casePath points to the actual case file or folder.
baseline|resultPath always points to a folder with case name.
Even if it is a file-case,
a folder with that name (including file extension) will be created.

This allows users to simply check caseType to see if it is a file or folder case and process the case based on their assumption.

This allows the baseline() to be used in a fixture folder with mixed file and folder cases.