From 5462949e5152c8bdbb503392faf70720029d15f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Andr=C3=A9s=20Rodr=C3=ADguez=20Scelza?= Date: Sun, 2 Jun 2019 20:27:19 -0300 Subject: [PATCH] added automatic test explanation on how to run them --- .../loaderon_hooks/Documentation/automatic_testing.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt diff --git a/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt b/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt new file mode 100644 index 0000000..99271c4 --- /dev/null +++ b/pre_commit_hooks/loaderon_hooks/Documentation/automatic_testing.txt @@ -0,0 +1,6 @@ +In order to run automatic tests and know test coverage, following commands are suggested (notice that will run +ALL pre_commit_hooks tests, not only Loaderon's): + +coverage erase +coverage run --source pre_commit_hooks -m pytest +coverage report --fail-under 100