From 8f728441d8d1bcd78aefe8ec3f8a611e09026e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Andr=C3=A9s=20Rodr=C3=ADguez=20Scelza?= Date: Tue, 4 Jun 2019 10:56:57 -0300 Subject: [PATCH] added unit testing good practice --- .../loaderon_hooks/Documentation/automatic_testing.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt b/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt index 99271c4..c1da92c 100644 --- a/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt +++ b/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt @@ -4,3 +4,10 @@ ALL pre_commit_hooks tests, not only Loaderon's): coverage erase coverage run --source pre_commit_hooks -m pytest 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. +-Verification: checking of obtained results. \ No newline at end of file