Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

CI Automation Framework #221

Open
vitiral opened this issue Jan 7, 2018 · 0 comments
Open

CI Automation Framework #221

vitiral opened this issue Jan 7, 2018 · 0 comments
Assignees

Comments

@vitiral
Copy link
Owner

vitiral commented Jan 7, 2018

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.
@vitiral vitiral self-assigned this Jan 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant