Implement command line options #4

Closed
opened 2024-09-02 20:25:08 +00:00 by RYAN · 0 comments
Owner
  • --version: print version information.

  • --help: print usage information.

  • --print-info --print-information: print information.

  • --print-warnings: print warnings.

  • --print-success: print successful tests.

  • --print-failure: print test failures.

  • --print-stats: print test statistics. SKIPPED.

  • --verbose: print everything

  • -e and --exclude <name>: excludes execution of test <name>.

  • -i and --include <name>: includes execution of test <name>, automatically excludes all non-specified tests.

  • -l and --list: should print all available tests.

  • Specifying both --exclude and --include should issue a diagnostic and cause program failure.

  • Passing a non-existing test name to --exclude or --include should issue a diagnostic and cause program failure.

  • Specifying any non-option or an unrecognized option on the command line should issue a diagnostic and cause program failure.

- [x] `--version`: print version information. - [x] `--help`: print usage information. - [x] ~~`--print-info`~~ `--print-information`: print information. - [x] `--print-warnings`: print warnings. - [x] `--print-success`: print successful tests. - [x] `--print-failure`: print test failures. - [x] `--print-stats`: print test statistics. **SKIPPED**. - [x] `--verbose`: print everything - [x] `-e` and `--exclude <name>`: excludes execution of test `<name>`. - [x] `-i` and `--include <name>`: includes execution of test `<name>`, automatically excludes all non-specified tests. - [x] `-l` and `--list`: should print all available tests. - [x] Specifying both `--exclude` and `--include` should issue a diagnostic and cause program failure. - [x] ~~Passing a non-existing test name to `--exclude` or `--include` should issue a diagnostic and cause program failure.~~ - [x] Specifying any non-option or an unrecognized option on the command line should issue a diagnostic and cause program failure.
RYAN added this to the v0.1.0 milestone 2024-09-02 20:25:08 +00:00
RYAN added the
Kind/Feature
Priority
High
labels 2024-09-02 20:25:08 +00:00
RYAN self-assigned this 2024-09-02 20:25:08 +00:00
RYAN closed this issue 2024-09-03 00:10:22 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: arc/libarc-validate#4
No description provided.