Replies: 1 comment
-
Hi @fitzne I don't know if fit your answer but usually I use a custom scenario with different prepare.yml where I run the role with custom parameter and the related verify.yml to validate the custom scenario |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We would like to test with Molecule different role parameterizations.
test case 1
call the role with input values for the test case 1 and verify it
test case 2
call the role with input values for the test case 2 and verify it
test case ...
All the tests should be done on one infrastructure e.g. OpenStack and different platforms e.g. Ubuntu 1804, 2004, Windows Server 2019.
Do you have some best practices how that could be achieved (a little bit similar like implementing different test cases and managing them in a test suite)?
By using scenarios it would be possible to do such stuff, but I am not sure wether scenarios are the right instrument for it (scenario => test case).
Beta Was this translation helpful? Give feedback.
All reactions