JetBrains / teamcity-messages

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

Add option to generate test suites #252

Open kanstantsin opened 2 years ago

kanstantsin commented 2 years ago

https://github.com/JetBrains/teamcity-messages/issues/251

If generatetestsuites option is on, test suites are generated based on test file names. If generatetestsuites option is on and there is started test in pytest_runtest_logstart - report build problem.

Another flag unmodifiedverbosity is added to stop plugin from modifying verbosity level which is regulated by pytest user. Currently teamcity-messages plugin produces unexpected side effect by modifying verbosity level. E.g. calling pytest --quiet is not quiet due to teamcty reporting. Can move that to a separate PR.