Here is the execution flow of tests
- The infra is spawned
- All tests are collected, tests that are not in the executed scenario are removed
- for each tests, if the test is a method class, and a setup method exists in this class (test is named
test_XXX, setup method name must besetup_XXX), the setup method is executed. - Every data generated by the setup method is stored (actually, only requests made on the weblog, but soon all of them)
- the infra is shut down
- all the test method are executed
- All tests are collected, tests that are not in the executed scenario are removed
- data generated by the setup method is recreated
- all the test method are executed
WIP