Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
Is your feature request related to a problem? Please describe.
During its execution, a test will be in different phases. So far, these are the definitions of the phases within an avocado-instrumented test:
As it can be seen, there's no central place defining the possible phases, just some aid to the test itself so that it knows where it's currently at.
In preparation for supporting timeouts for individual phases, it's a good idea to understand where the transitions from phases can and how they happen. For instance, what happens if a timeout is hit during the SETUP phase? Will it transition to FINISHED or will it go to TEARDOWN first?
Describe the solution you'd like
There should a reference document showing the possible:
Test phases
Phase transitions
Associated possible statuses for each phase (example, it should be impossible for a test under INIT to have a pass status?)
Is your feature request related to a problem? Please describe. During its execution, a test will be in different phases. So far, these are the definitions of the phases within an
avocado-instrumented
test:As it can be seen, there's no central place defining the possible phases, just some aid to the test itself so that it knows where it's currently at.
In preparation for supporting timeouts for individual phases, it's a good idea to understand where the transitions from phases can and how they happen. For instance, what happens if a timeout is hit during the
SETUP
phase? Will it transition toFINISHED
or will it go toTEARDOWN
first?Describe the solution you'd like There should a reference document showing the possible:
INIT
to have apass
status?)Additional information This issue is based on the discussions from https://gitlab.com/avocado-framework/dovetail/-/issues/14