baset
baset copied to clipboard
Git acceptance strategy
It will be reference implementation for acceptance strategies (#68) and used instead of existing manual
in standard preset (#60).
It should have two modes.
Strict (default)
- When
accept
command used, commits stage (or everything if staged is empty) and replacesaccepted
field of baset config with current commit id. - When
test
command used baseliner's output should be immediately written to baseline file and compared to same file from git history at commit id that presents inaccepted
field of baset config.
Non-strict
- When
accept
command used, commits stage (or everything if staged is empty). - When
test
command used baseliner's output should be immediately written to baseline file and compared to same file from git history at latest committed point.