JetBrains / teamcity-messages

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

support twisted.trial unittest runner #133

Open throwable-one opened 7 years ago

throwable-one commented 7 years ago

Even with aysncio people still need it: https://youtrack.jetbrains.com/issue/PY-2410

shalupov commented 7 years ago

supported in https://github.com/JetBrains/teamcity-messages/blob/master/twisted/plugins/teamcity_plugin.py

please test it a little and file issues

whatalokation commented 7 years ago

+1

ciarancourtney commented 7 years ago

+1

shalupov commented 7 years ago

@whatalokation @ciarancourtney What exactly is not working for you? twisted support is implemented and automatically tested (to a some degree)

ciarancourtney commented 7 years ago

I'm just voting for a trial test runner support in Pycharm as per Ilya's comment in https://youtrack.jetbrains.com/issue/PY-2410 , I've no idea what teamcity is.

throwable-one commented 7 years ago

@shalupov No test count provided nor stdout capture is used. Please take a look:

(env) C:\temp\early_print>trial --reporter=teamcity foo_test.test_test.TestFooTest.test_test
##teamcity[testStarted timestamp='2017-07-17T23:36:25.712' captureStandardOutput='true' flowId='foo_test.test_test.TestFooTest.test_test' name='foo_test.test_test.TestFooTest.test_test']
1
##teamcity[testFinished timestamp='2017-07-17T23:36:25.712' duration='0' flowId='foo_test.test_test.TestFooTest.test_test' name='foo_test.test_test.TestFooTest.test_test']

-------------------------------------------------------------------------------
Ran 1 tests in 0.020s

PASSED (successes=1)