Commit d53fae77 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Update clean-test and add docstring..

parent 3a868e6d
.PHONY: clean clean-test clean-pyc clean-build docs help nosetests
.PHONY: clean clean-test clean-pyc clean-build docs help nosetests pytest
.DEFAULT_GOAL := help
define BROWSER_PYSCRIPT
import os, webbrowser, sys
......@@ -49,6 +49,9 @@ clean-test: ## remove test and coverage artifacts
rm -f .coverage
rm -fr .coverage.*
rm -fr htmlcov/
rm -fr report.html
rm -fr report.xml
rm -fr coverage.xml
rm -fr nosetests.html
rm -fr nosetests.xml
......@@ -84,7 +87,7 @@ nosetests: clean-test ## Runs nosetests with coverage, xUnit and nose-html-outpu
nosetests -vv --with-coverage --cover-package=py_tools_ds --cover-erase --cover-html --cover-html-dir=htmlcov \
--with-html --with-xunit --rednose --force-color
pytest: clean-test
pytest: clean-test ## Runs pytest with coverage and creates coverage and test report
## - puts the coverage results in the folder 'htmlcov'
## - generates cobertura 'coverage.xml' (needed to show coverage in GitLab MR changes)
## - generates 'report.html' based on pytest-reporter-html1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment