Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2
Revisão | bc6b5143377d8867584be432dbf805912c9f99ed (tree) |
---|---|
Hora | 2022-05-19 19:31:21 |
Autor | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
Added COVERAGE to make [py]test
@@ -10,3 +10,5 @@ | ||
10 | 10 | |
11 | 11 | Design/.*\.svg |
12 | 12 | pyreversed/.*\.svg |
13 | +htmlcov | |
14 | +.coverage |
@@ -6,7 +6,9 @@ | ||
6 | 6 | |
7 | 7 | PYTEST_OPTONS=-rxXsfE |
8 | 8 | pytest test: |
9 | - pytest ${PYTEST_OPTONS} pytst/ | |
9 | + coverage run --branch -m pytest ${PYTEST_OPTONS} pytst/ | |
10 | + coverage report --skip-covered | |
11 | + coverage html | |
10 | 12 | pytest-s test-s: |
11 | 13 | pytest ${PYTEST_OPTONS} -s pytst |
12 | 14 | test-ds test-sd test-d: |