The teardown call should be in a reversed order (stack) so that if a task depends on a previous task, should be teardown before the previous task
For example:
if we have task_1 that starts a webserver and task_2 that populate data
task_1 should be run before task_2
but at the same time task_1 should be teardown after task_2
The teardown call should be in a reversed order (stack) so that if a task depends on a previous task, should be teardown before the previous task
For example: if we have task_1 that starts a webserver and task_2 that populate data task_1 should be run before task_2 but at the same time task_1 should be teardown after task_2