restoration before verification in aut test doc

This commit is contained in:
Alvaro Andrés Rodríguez Scelza 2019-06-04 12:25:58 -03:00
parent 659c0fa0d0
commit 284c04df70

View file

@ -10,4 +10,6 @@ coverage report --fail-under 100
Each automatic test method should have three stages:
-Initialization: declaring and specification of all necessary variables and data for the test.
-Execution: run all to-be-tested procedures.
-Restoration: Eventual undoing of actions that may have changed external configurations. So as to ensure unit testing
isolation. Restoration should go before verification in case test fails.
-Verification: checking of obtained results. Might not be necessary when an exception is expected.