You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?)
This commit adds a new chapter to the reference guide about avocado
instrumented tests and its lifecycle.
Reference: avocado-framework#5995
Signed-off-by: Jan Richter <[email protected]>
This commit adds a new chapter to the reference guide about avocado
instrumented tests and its lifecycle.
Reference: avocado-framework#5995
Signed-off-by: Jan Richter <[email protected]>
richtja
added a commit
to richtja/avocado
that referenced
this issue
Sep 11, 2024
This commit adds a new chapter to the reference guide about avocado
instrumented tests and its lifecycle.
Reference: avocado-framework#5995
Signed-off-by: Jan Richter <[email protected]>
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
The text was updated successfully, but these errors were encountered: