diff --git a/docs/development.rst b/docs/development.rst index 19bf219d1f15d47a7d8d3c7f695e6c11dee6f76e..34f0c8f4550fc8f66c1393799bb289797c9d9901 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -363,25 +363,31 @@ For each role perform the following steps: grep -ri 10.31 molecule/default/tests/test_*.py - 6. Run tests, fixing any ensuing issues along the way:: + 6. Figure out how to fix hostname parametrisation in case of + multiple (old) platforms, e.g. when having same machines with + multiple debian versions. Good way to identify such tests:: + + grep -ri parameters- molecule/default/tests/test_*.py + + 7. Run tests, fixing any ensuing issues along the way:: molecule verify - 7. Perform one more relatively fast verification that things work + 8. Perform one more relatively fast verification that things work fine:: molecule lint && molecule idempotence && molecule verify - 8. Check the number of defined tests against number of tests + 9. Check the number of defined tests against number of tests performed. Keep in mind some tests are run for multiple machines, and refer to each test file to see what hosts will get loaded:: grep -c 'def test_' molecule/default/tests/test_* - 9. Run the full test suite to ensure everything works correctly:: + 10. Run the full test suite to ensure everything works correctly:: - molecule test + molecule test 10. Verify and commit the changes. Template commit message::