mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
use --failed-furst for make devtest
This commit is contained in:
parent
5394d290ef
commit
e473e91d5f
2 changed files with 15 additions and 2 deletions
4
makefile
4
makefile
|
|
@ -426,7 +426,6 @@ ipy:
|
|||
## Like `make test`, but with debug parameters
|
||||
.PHONY: devtest
|
||||
devtest:
|
||||
@rm -rf ".pytest_cache";
|
||||
@rm -rf "src/__pycache__";
|
||||
@rm -rf "test/__pycache__";
|
||||
|
||||
|
|
@ -438,6 +437,7 @@ ifdef FILTER
|
|||
--verbose \
|
||||
--capture=no \
|
||||
--exitfirst \
|
||||
--failed-first \
|
||||
-k $(FILTER) \
|
||||
test/ src/;
|
||||
else
|
||||
|
|
@ -448,10 +448,10 @@ else
|
|||
--verbose \
|
||||
--capture=no \
|
||||
--exitfirst \
|
||||
--failed-first \
|
||||
test/ src/;
|
||||
endif
|
||||
|
||||
@rm -rf ".pytest_cache";
|
||||
@rm -rf "src/__pycache__";
|
||||
@rm -rf "test/__pycache__";
|
||||
|
||||
|
|
|
|||
|
|
@ -34,3 +34,16 @@ snakeviz
|
|||
# add one after you've tested it and found it to be actually useful.
|
||||
|
||||
ipython # nuff said
|
||||
|
||||
|
||||
# A command line utility to display dependency tree of the installed Python packages
|
||||
# https://github.com/naiquevin/pipdeptree
|
||||
#
|
||||
# For graph output you will need to:
|
||||
# $ sudo apt install -y graphviz
|
||||
# $ pipdeptree --graph-output svg > requirements/tree.svg
|
||||
pipdeptree
|
||||
graphviz
|
||||
|
||||
# run failed tests first
|
||||
pytest-cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue