mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 04:26:52 +00:00
added automatic test explanation on how to run them
This commit is contained in:
parent
d6a73bebe5
commit
5462949e51
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue