From bfdf58a44a80b96b500b23ff73d8797c03a65776 Mon Sep 17 00:00:00 2001 From: adamstok Date: Tue, 6 Oct 2020 12:38:37 +0200 Subject: [PATCH] added coverage files and folders to gitignore, and modified the code snippet in tests/README.md --- .gitignore | 6 +++++- tests/README.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 03cf10f..520a2c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ .idea/ **/__pycache__ venv/ -# Guard against commiting generated ascii files +# Guard against committing generated ascii files *.txt !requirements.txt +# Guard against committing test coverage files and folders +tests/htmlcov/ +tests/.coverage + diff --git a/tests/README.md b/tests/README.md index dcdbedd..00d5ea4 100644 --- a/tests/README.md +++ b/tests/README.md @@ -21,7 +21,7 @@ See the report: `coverage report` See the report in html with a view of what was tested: -```cov +``` coverage html (this command will create a folder 'htmlcov' with the test report in html) ```