ctbtodev
Last change
on this file since 2fb99de was
2fb99de,
checked in by Anne Philipp <anne.philipp@…>, 6 years ago
|
introduced config with path definitions and changed py files accordingly; Installation works; some tests were added for tarball making; Problems in submission to ecgate
|
-
Property mode set to
100644
|
File size:
446 bytes
|
Line | |
---|
1 | Abhängigkeiten: |
---|
2 | pytest |
---|
3 | pytest-cov (https://pypi.org/project/pytest-cov/ ; https://pytest-cov.readthedocs.io/en/latest/) |
---|
4 | coverage |
---|
5 | |
---|
6 | #Grundsätzlicher Befehl die Coverage des Testens zu überprüfen |
---|
7 | pytest --cov=PATH_TO_PROJECT_SRC PATH_TO_TEST_SRC |
---|
8 | |
---|
9 | # einen test mit einem bestimmten marker nicht ausführen |
---|
10 | pytest TestTools.py -m "not msuser_pw" |
---|
11 | |
---|
12 | # Tests mit einem bestimmten Marker ausführen |
---|
13 | pytest TestTools.py -m "msuser_pw" |
---|
Note: See
TracBrowser
for help on using the repository browser.