Current test suite and integration test framework use python-nose. While the current test suite and test framework for in our case, it may become limiting factor in future growth of the test suite.
For example, with growing number of tests, we will soon need to be able to run only selected range of test in a selected test run. Developer may need to run just quick unit tests without running whole test suite. Or CI pre-review test may need to run all single server tests. This and other more complicated tasks are difficult to do with python-nose.
The proposal is to switch to pytest framework and update the test infrastructure so that:
See initial discussion on freeipa-devel. This is something we will want to do in the beginning of 4.2 cycle.
Starting review
master:
IPA now uses pytest, and an example of how to proceed is in place for the host plugin.
Tests can always use more work, though...
Right. I think that follow up work can be tracked in separate tickets, RFEs. For now, I think we can mark this work as completed. Thanks Petr!
Metadata Update from @mkosek: - Issue assigned to someone - Issue set to the milestone: FreeIPA 4.2
Login to comment on this ticket.