source: flex_extract.git/documentation/FE_testing.txt @ 5d42acd

ctbtodev
Last change on this file since 5d42acd was 5d42acd, checked in by Anne Philipp <anne.philipp@…>, 6 years ago

working version of restructured usement of pathes with config file

  • Property mode set to 100644
File size: 446 bytes
Line 
1Abhängigkeiten:
2pytest
3pytest-cov  (https://pypi.org/project/pytest-cov/  ;  https://pytest-cov.readthedocs.io/en/latest/)
4coverage
5
6#Grundsätzlicher Befehl die Coverage des Testens zu überprüfen
7pytest --cov=PATH_TO_PROJECT_SRC PATH_TO_TEST_SRC
8
9# einen test mit einem bestimmten marker nicht ausführen
10pytest TestTools.py -m "not msuser_pw" 
11
12# Tests mit einem bestimmten Marker ausführen
13pytest TestTools.py -m "msuser_pw"
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG