irontest
irontest copied to clipboard
Common setup/teardown for data driven test case
It would be useful to have the option for one-off "Setup" and "Teardown" steps that run before the first / after the last data-driven test case.
One use-case for this is, I have a cache that needs to be loaded before the first test case, but it doesn't need to be loaded every time.
Another use-case is cleaning up database entries that have been affected by the test cases
A third possible use-case for this is if a message needs to be sent through a flow before all of the tests start, perhaps to start something up or set a configuration
This feature looks intuitive/logical to have from impression, as it makes the data driven test case's capability more 'complete'. But due to few users are requesting this feature, I am thinking to leave it as a low priority item for now.
This feature looks intuitive/logical to have from impression, as it makes the data driven test case's capability more 'complete'. But due to few users are requesting this feature, I am thinking to leave it as a low priority item for now.
That's fine, I just raised it because it would be useful and it gives others a chance to have their say too - but of course you have to prioritise development.