Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run many tests in one go #15

Open
ivelin opened this issue May 2, 2023 · 0 comments
Open

Run many tests in one go #15

ivelin opened this issue May 2, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ivelin
Copy link
Contributor

ivelin commented May 2, 2023

The problem

Currently storycheck takes one input md file as a command line parameter. This makes it inconvenient to run against a directory with many user stories / md files.

Desired behavior

Allow many md files to be parsed and executed in one run.
If any of them fails, the overall command should return non-zero exit code. If all tests pass, storycheck command should return 0 exit code to OS shell.

Solution

Add command line parameter --input-dir for root directory to be scanned for .md files.
Required parameter unless --input-file is provided as a parameter.

Add an optional glob command line parameter for scanning for files under the --input-dir directory. Defaults value `**/*.md'.

Produce a storycheck-summary.csv file in the --output-dir directory that will allow integration with CI workflows and monitoring tools. The CSV file would have the following columns:

input_file outcome results_dir
example.md PASS example.md.results/
example2.md FAIL example2.md.results/
@ivelin ivelin added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant