JetBrains / teamcity-messages

Python Unit Test Reporting to TeamCity
https://pypi.python.org/pypi/teamcity-messages
Apache License 2.0
137 stars 81 forks source link

#227: use ``pytest_collection_finish`` to count tests: it doesn't inc… #228

Closed throwable-one closed 4 years ago

throwable-one commented 4 years ago

…lude skipped tests.

When launched with --last-failed pytest reports all tests to pytest_collection_modifyitems but only enabled (excluding skipped) to pytest_collection_finish. We must use it to report correct number of tests.

throwable-one commented 4 years ago

@madlexa ping