Tests tab not appearing from custom testing framework using service messages
Many similar questions already exist but all address specific testing frameworks such as PHP or Junit. I would like to get the tests tab to appear using a custom framework that makes use of service messages along the lines of
##teamcity[testSuiteStarted name = 'Benchmark.Tests']
To do its work. Do I still need XML report processing to do this or is there an easier way? My 'tests' are simply checked out of a testing directory, each containing test subdirectories and a little python script for each test. The script outputs service messages to indicate whether the test has succeeded or failed.
How do I get the tests tab to show up for this kind of setup?
Please sign in to leave a comment.
Hi,
Which version of teamcity are you using? This kind of service messages should create the tests tab as you would expect. I just double checked through a simple command line script that it outputs them properly.
How are you running the python scripts? Are the messages being actually passed on to the stdout?