source: flex_extract.git/for_developers/FE_testing.txt @ 4971f63

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

changed whole tree structure of flex_extract to have better overview

  • 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