From 03e4978106a67888339a24bbbe158e6f8859cc25 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 11 Nov 2019 02:25:44 -0400 Subject: [PATCH] Add target to run specific tests in debug mode Signed-off-by: Roberto Rosario --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 760a6566fb..194df3a46f 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,10 @@ test: clean-pyc test: ## MODULE= - Run tests for a single app, module or test class. ./manage.py test $(MODULE) --settings=mayan.settings.testing.development --nomigrations $(ARGUMENTS) +test-debug: clean-pyc +test-debug: ## MODULE= - Run tests for a single app, module or test class, in debug mode. + ./manage.py test $(MODULE) --settings=mayan.settings.testing.development --nomigrations --debug-mode $(ARGUMENTS) + test-all: ## Run all tests. test-all: clean-pyc ./manage.py test --mayan-apps --settings=mayan.settings.testing.development --nomigrations $(ARGUMENTS)