From c828f21753cc08fea84a528d97212d95f2b86b79 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Thu, 26 Dec 2024 10:54:50 +0100 Subject: [PATCH] Updata min-test --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9db07841..be2d9da6 100644 --- a/Makefile +++ b/Makefile @@ -85,19 +85,25 @@ venv-min-upgrade: ## Upgrade Python 3 minimal run-time dependencies # Tests # =================================================================== -test: ## Run unit tests +test: ## Run All unit tests $(PYTEST) test-core: ## Run Core unit tests $(PYTEST) tests/test_core.py +test-restful: ## Run Restful API unit tests + $(PYTEST) tests/test_restful.py + +test-xmlrpc: ## Run XMLRPC API unit tests + $(PYTEST) tests/test_xmlrpc.py + test-with-upgrade: venv-upgrade test ## Upgrade deps and run unit tests test-min: ## Run core unit tests in minimal environment - $(venv_min)/python unittest-core.py + $(venv_min)/python -m pytest tests/test_core.py test-min-with-upgrade: venv-min-upgrade ## Upgrade deps and run unit tests in minimal environment - $(venv_min)/python unittest-core.py + $(venv_min)/python -m pytest tests/test_core.py # =================================================================== # Linters, profilers and cyber security