Commit 3a868e6d authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added documentation. Enabled full traceback.

parent c5393f7d
Pipeline #35139 failed with stage
in 5 minutes and 1 second
......@@ -28,7 +28,7 @@ test_py_tools_ds:
- make pytest
- make docs
artifacts:
expose_as: 'see artifacts'
expose_as: 'Test and coverage report'
paths:
- htmlcov/
- report.html
......
......@@ -85,16 +85,14 @@ nosetests: clean-test ## Runs nosetests with coverage, xUnit and nose-html-outpu
--with-html --with-xunit --rednose --force-color
pytest: clean-test
# coverage run -m pytest --verbosity=2 --color=yes --cov-report term --cov=py_tools_ds tests/
# --cov-report annotate:cov_annotate \
# --full-trace \
# --full-trace \
# --tb=auto \
## - 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
## - generates JUnit 'report.xml' to show the test report as a new tab in a GitLab MR
pytest \
--verbosity=3 \
--color=yes \
--full-trace \
--cov-report html:htmlcov \
--cov-report term-missing \
--cov-report xml:coverage.xml \
......
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