Clarification & next steps for unit tests(gundalow, 17:02:10)
AGREED: new unit
tests should be written to use pytest(gundalow,
17:02:48)
high-value porting to pytest 1) it's useful to
be able to override things from the CLI. Looks like for the option
flags, that is by design..(gundalow,
17:03:24)
high-value porting to pytest: (1) grep -ri nose
test/units(gundalow,
17:03:44)
high-value porting to pytest: (1) grep -r
procenv test/units(gundalow,
17:03:56)
(1) lets us drop the nose dependency(gundalow,
17:04:06)
lets us get rid of some of our code that pytest
has good builtin support for(gundalow,
17:04:21)
https://github.com/ansible/ansible/issues/33302
Unit tests failed without ncclient installed(gundalow,
17:21:11)
ACTION: gundalow to
document how to skiptest pytest.skip (
https://docs.pytest.org/en/latest/skipping.html ) (though should be
added to test/runner/requirements/units.txt)(gundalow,
17:25:21)
gundalow work with abadger1999 to reference good tests from dev_guide/testing_units.html
gundalow work with abadger1999 to remove unittest references from dev_guide/testing_units.html
gundalow work with abadger1999 to add links to mock & pytest to dev_guide/testing_units.html
gundalow to document how to skiptest pytest.skip ( https://docs.pytest.org/en/latest/skipping.html ) (though should be added to test/runner/requirements/units.txt)
Action items, by person
abadger1999
gundalow work with abadger1999 to reference good tests from dev_guide/testing_units.html
gundalow work with abadger1999 to remove unittest references from dev_guide/testing_units.html
gundalow work with abadger1999 to add links to mock & pytest to dev_guide/testing_units.html
gundalow
gundalow work with abadger1999 to reference good tests from dev_guide/testing_units.html
gundalow work with abadger1999 to remove unittest references from dev_guide/testing_units.html
gundalow work with abadger1999 to add links to mock & pytest to dev_guide/testing_units.html
gundalow to document how to skiptest pytest.skip ( https://docs.pytest.org/en/latest/skipping.html ) (though should be added to test/runner/requirements/units.txt)