mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +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
|
## Like `make test`, but with debug parameters
|
||||||
.PHONY: devtest
|
.PHONY: devtest
|
||||||
devtest:
|
devtest:
|
||||||
@rm -rf ".pytest_cache";
|
|
||||||
@rm -rf "src/__pycache__";
|
@rm -rf "src/__pycache__";
|
||||||
@rm -rf "test/__pycache__";
|
@rm -rf "test/__pycache__";
|
||||||
|
|
||||||
|
|
@ -438,6 +437,7 @@ ifdef FILTER
|
||||||
--verbose \
|
--verbose \
|
||||||
--capture=no \
|
--capture=no \
|
||||||
--exitfirst \
|
--exitfirst \
|
||||||
|
--failed-first \
|
||||||
-k $(FILTER) \
|
-k $(FILTER) \
|
||||||
test/ src/;
|
test/ src/;
|
||||||
else
|
else
|
||||||
|
|
@ -448,10 +448,10 @@ else
|
||||||
--verbose \
|
--verbose \
|
||||||
--capture=no \
|
--capture=no \
|
||||||
--exitfirst \
|
--exitfirst \
|
||||||
|
--failed-first \
|
||||||
test/ src/;
|
test/ src/;
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@rm -rf ".pytest_cache";
|
|
||||||
@rm -rf "src/__pycache__";
|
@rm -rf "src/__pycache__";
|
||||||
@rm -rf "test/__pycache__";
|
@rm -rf "test/__pycache__";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,3 +34,16 @@ snakeviz
|
||||||
# add one after you've tested it and found it to be actually useful.
|
# add one after you've tested it and found it to be actually useful.
|
||||||
|
|
||||||
ipython # nuff said
|
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