From 81b15645353e31427137b91cfc3820022caf0e8c 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 e15c6beb08..8e56b2f80b 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,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)