Kevin K
f967235a90
tests: massively rehauls tests for better debugging and vastly improved error messages/deduplication
2017-01-02 23:05:50 -05:00
Kevin K
60e1a3a02b
tests(Conditionally Required): adds tests for conditionally required args
2016-12-28 23:30:52 -05:00
Kevin K
eca609159a
test(Conditional Requirements): adds teste for conditional requirements
2016-12-28 23:21:40 -05:00
Kevin K
d20331b6f7
fix(Required Unless): fixes a bug where having required_unless set doesn't work when conflicts are also set
...
Closes #753
2016-11-20 12:10:14 -05:00
Kevin K
625cbbca0d
test: adds tests for required_unless_one cases
2016-07-23 17:22:14 -04:00
Christopher Field
1b99091e0a
tests: adds require_unless_one test cases
...
* test: `require_unless_one` with second argument
Add the `require_unless_one_2` test. This tests that when the second
argument in the array is used at the command line, that the required
argument is not present. This test was added because it appears the
`require_unless_one` function only works for the first argument in the
array.
* Fix: assertions for test
The assertions did not check for the `infile` to be present.
2016-07-23 13:43:22 -04:00
Kevin K
b42ca0b5ab
chore(Tests): had to remove external clap-test crate...sad face
2016-05-09 22:46:09 -04:00
Kevin K
852e58156c
tests: removes old python tests and replaces with rust tests
...
Closes #166
2016-05-09 19:14:11 -04:00
Kevin K
9fdad2e970
tests: adds tests for required_unless settings
2016-05-03 16:31:54 -04:00
Kevin K
f17e150894
tests(Usage Parser): adds and fixes tests for usage parser
2016-01-28 11:45:31 -05:00
Kevin K
7fc18e685f
test(v2): fixing tests to pass under new v2 changes
2016-01-28 11:45:31 -05:00
Alexander Kuvaev
7a2375bcea
tests: add tests for requires
2015-09-06 23:13:55 +03:00