Skip to content
Snippets Groups Projects
Commit af7fa5d4 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Feature: Use nose2 instead of nose. (Redmine issue: #7587)

parent c70c81fb
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,9 @@ pip-delete-this-directory.txt ...@@ -48,6 +48,9 @@ pip-delete-this-directory.txt
# Ignore compiled translations catalogs. # Ignore compiled translations catalogs.
messages.mo messages.mo
# Ignore test results.
nose2-junit.xml
# Ignore precompiled files for PLY. # Ignore precompiled files for PLY.
parser.out parser.out
parsetab.py parsetab.py
......
...@@ -606,7 +606,7 @@ pylint: FORCE ...@@ -606,7 +606,7 @@ pylint: FORCE
test: FORCE test: FORCE
@echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n" @echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`" @echo "Python version: `$(PYTHON) --version`"
APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(NOSETESTS) APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(PYTHON) -W always::DeprecationWarning -m nose2
coverage: FORCE coverage: FORCE
@echo "\n$(GREEN)*** Checking test code coverage with nosetests and coverage ***$(NC)\n" @echo "\n$(GREEN)*** Checking test code coverage with nosetests and coverage ***$(NC)\n"
......
setuptools==46.1.3 setuptools==46.1.3
wheel==0.34.2 wheel==0.34.2
nose==1.3.7 nose2==0.11.0
coverage==5.0.4 coverage==5.0.4
pyflakes==2.1.1 pyflakes==2.1.1
pylint==2.4.4 pylint==2.4.4
......
setuptools setuptools
wheel wheel
nose nose2
coverage coverage
pyflakes pyflakes
pylint pylint
......
[unittest]
plugins = nose2.plugins.junitxml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment