buda-base / asset-manager

Asset Manager and audit tool
The Unlicense
0 stars 0 forks source link

Add test name options #165

Closed jimk-bdrc closed 2 years ago

jimk-bdrc commented 2 years ago

We don't always want to run every test. Sometimes we want to run only named tests.

Add a flag to designate a test you want run. Either group them together -t t1,t2,t3,t4 or have multiple flags: -t t1 -t t2 -t t3 -t t4 Audit-tool should print the values of the short names of the tests when the user requests help. This is a dynamic list, as it depends on the specific test library which is loaded.

One possible alternative would be to code extra bundles of options and tests into a profile file, which can be called with a separate flag:

audit-tool -p path/to/file.config ...... which merges properties and command line arguments after the command line is read.

jimk-bdrc commented 2 years ago

Merged in PR #170