Open yarikoptic opened 3 weeks ago
In follow up to
should test parsing (no need to execute) of following command lines
duct cmd --help
cmd
duct --help cmd
duct
duct --unknown cmd
--unknown
duct --unknown cmd --option
duct --sample-interval SAMPLE_INTERVAL
etc, to cover corner cases of possible ways users try to specify smth peculiar. That is where parametric test specification could be quite handy
Thanks for the test cases!
In follow up to
should test parsing (no need to execute) of following command lines
duct cmd --help
returns composition of options so --help goes forcmd
duct --help cmd
returns composition of options so --help goes forduct
duct --unknown cmd
fails to find--unknown
duct --unknown cmd --option
fails to find--unknown
duct --unknown cmd --option
failsduct --sample-interval SAMPLE_INTERVAL
fails (no cmd)etc, to cover corner cases of possible ways users try to specify smth peculiar. That is where parametric test specification could be quite handy