User story #12836
openMissing use cases for technique test scenario
Description
While trying to do complex testing of techniques, i encountered the following use case that I couldn't use
Code reusability¶
If some code is common in the checks of different directive, there is no way I can have some common code and include them
Ordering¶
There is no way to define in which order the test must be run
Cleaning¶
We cannot clean after a test (deleting the directive, or running an action on the node to return to a known state
Running directive outside of the compliance check¶
For sshKeyDistribution, I need users to be present on the system. If I use a directive to create them, the compliance will be different at first run than from other run (not the same number of repair in the user creation directive)
Reliability¶
Compliance may take a bit of time to be processed - and we are querying asap the compliance of test. We should ensure compliance is up to date before measuring it