Display TestExecute/TestComplete results on TeamCity build log
Hello,
I am running my TestComplete tests using the TestExecute command line on TeamCity using batch files. The tests are running ok on TeamCity, however, I do not see any information regarding the passed/failed tests on the TeamCity build log section. On TeamCity it always shows a success irrespective of my tests failing or passing. TestComplete is generating the test results in an html files after running the tests. But I am not sure how to show the test results on the TeamCity build log. I read about the TeamCity service messages here but I am not sure how to use them. Any suggestions? For eg: ##teamcity[testStarted name='testname']
How do I use these messages and where do I enter them?
Thank you.
Regards,
Sameer
Hi sameerjade,
Have you tried adding the captureStandardOutput parameter to your test as VladYatskovskiy suggested? The following help article contains the info how to do this:
https://www.jetbrains.com/help/teamcity/build-script-interaction-with-teamcity.html