You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.
The test harness/framework in artifact-data is going quite well and I would like to do something similar for the CLI tools.
Basic design:
An artifact project would be created normally. It can have assert_*.yaml files from the artifact-data test harness (which will be used and asserted)
There will be an assert_cli.yaml file with the following structure:
-
cmd: "<command to run>
expect: "string to expect"
expect_html: "alternatively, you can specify the string to expect in 'html->ansi format' and it will render it"
``
The harness will copy the folder to a temporary directory, run the commands and expect the results.
The text was updated successfully, but these errors were encountered:
The test harness/framework in
artifact-data
is going quite well and I would like to do something similar for the CLI tools.Basic design:
assert_*.yaml
files from theartifact-data
test harness (which will be used and asserted)assert_cli.yaml
file with the following structure:The text was updated successfully, but these errors were encountered: