The Wayback Machine - https://web.archive.org/web/20211019021117/https://github.com/TheAlgorithms/Python/commit/5616fa9e62a7fc85f2e195db55ee086b687cbb48
Skip to content
Permalink
Browse files
Add pytest-cov (#1578)
* Add pytest-cov

Also added coverage report in .travis.yml file.

* updating DIRECTORY.md

* Sort by missing statements

* sort = Cover
  • Loading branch information
sirex authored and cclauss committed Nov 17, 2019
1 parent 9a894eb commit 5616fa9e62a7fc85f2e195db55ee086b687cbb48
Showing with 7 additions and 1 deletion.
  1. +4 −0 .coveragerc
  2. +1 −1 .travis.yml
  3. +1 −0 DIRECTORY.md
  4. +1 −0 requirements.txt
@@ -0,0 +1,4 @@
[report]
sort = Cover
omit =
.env/*
@@ -9,6 +9,6 @@ before_script:
script:
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
- mypy --ignore-missing-imports .
- pytest . --doctest-modules
- pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=. .
after_success:
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
@@ -521,6 +521,7 @@
* [Naive String Search](https://github.com/TheAlgorithms/Python/blob/master/strings/naive_string_search.py)
* [Rabin Karp](https://github.com/TheAlgorithms/Python/blob/master/strings/rabin_karp.py)
* [Remove Duplicate](https://github.com/TheAlgorithms/Python/blob/master/strings/remove_duplicate.py)
* [Word Occurence](https://github.com/TheAlgorithms/Python/blob/master/strings/word_occurence.py)

## Traversals
* [Binary Tree Traversals](https://github.com/TheAlgorithms/Python/blob/master/traversals/binary_tree_traversals.py)
@@ -9,6 +9,7 @@ opencv-python
pandas
pillow
pytest
pytest-cov
requests
scikit-fuzzy
sklearn

0 comments on commit 5616fa9

Please sign in to comment.