Can the Tests tab be modified?
I'm using the Rake Runner in TeamCity 5.0.2 to run all of my Ruby on Rails tests. These tests use the Test::Unit and Shoulda frameworks, which are checked in the Rake Runner's configuration. However, when I go to the Tests tab for a specific build, it fails to recognize the different suites/classes. I am assuming this is because the tests do not start with "test_". An example from my test tab is:
UserSessionsControllerTest.A user logging in should respond with success
I would like to be able to filter based on UserSessionsControllerTest, but that is not available when using Shoulda for some reason. Is there some configuration file I can tweak to detect those suites/classes?
Thanks.
Please sign in to leave a comment.
Could you please provide a screenshot of Tests tab?
Please submit a bug report to our tracker. Currently TeamCity does not try to parse test name if it differs significantly from Java/.NET test names. Java/.NET test names usually look like <suite>: <package>.<class>.<test>, but in your case this is not so. That is why TeamCity does not offer to group tests by class name.
Thanks. I reported it at http://youtrack.jetbrains.net/issue/TW-11130.