From e5d757a9d346df6aa14ecec8a1d22262e286065a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 10 May 2021 15:07:42 +0200 Subject: [PATCH] run nosetests with --with-id and add a command to run only the failes tests --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 650958ae..2210a682 100644 --- a/Makefile +++ b/Makefile @@ -18,9 +18,12 @@ deps: ## install 🐸 requirements. pip install -r requirements.txt test: ## run tests. - nosetests -x --with-cov -cov --cover-erase --cover-package TTS tests --nologcapture + nosetests -x --with-cov -cov --cover-erase --cover-package TTS tests --nologcapture --with-id ./run_bash_tests.sh +test_failed: ## only run tests failed the last time. + nosetests -x --with-cov -cov --cover-erase --cover-package TTS tests --nologcapture --failed + style: ## update code style. black ${target_dirs} isort ${target_dirs}