Skip to content

Commit 63446a9

Browse files
committed
[tl-tests] added pytest conf
1 parent 3d560c1 commit 63446a9

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Prerequisites
4545
How to install ?
4646
----------------
4747

48-
+ Install from PIP : ``pip install testlink-tests``
48+
+ Install from PIP : ``pip install testlinktests``
4949

5050
+ Install from setup.py file : ``python setup.py install``
5151

pytest.ini

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[pytest]
2+
addopts =
3+
--verbose
4+
--junit-xml=tests/reports/test_coverage.xml
5+
--html=tests/reports/test_coverage.html
6+
--self-contained-html
7+
--cov=testlinktests tests/
8+
--cov-report html:tests/reports/coverage/
9+
--cov-report xml:tests/reports/coverage.xml
10+
--benchmark-histogram=tests/reports/benchmarks/benchmark.svg
11+
testpaths = tests
12+
console_output_style = progress
13+
python_files = suite_*_*.py
14+
python_classes = Test*
15+
python_functions = test_*_*

0 commit comments

Comments
 (0)