From 284c04df70d8238f9c3b16a2e6f866be7dee5214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Andr=C3=A9s=20Rodr=C3=ADguez=20Scelza?= Date: Tue, 4 Jun 2019 12:25:58 -0300 Subject: [PATCH] restoration before verification in aut test doc --- .../loaderon_hooks/Documentation/automatic_testing.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt b/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt index 5bdc2a0..5933dfe 100644 --- a/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt +++ b/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt @@ -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. \ No newline at end of file