Manually using Test::Unit reporting?

I'd like to use a Command Line runner to run rake testing but still take advantage of TeamCity's built-in Test::Unit reporting. Is it possible to call this manually after the rake tests have run or to somehow tell TC that the Command Line runner is actually running tests?

1 comment
Comment actions Permalink

Hello, Andy,

There no way to run rake from Command Line runner and enable TeamCity built-in Test::Unit reporting, because we are using custom rake starting script with patched RUBYLIB.

So you may:

  • Use Rake-Runner with Test::Unit integration enabled (on-the-fly reporting);

or

  • Say Team::Unit to produce xml reports and import them via XmlReports TeamCity's plugin (reports will be parsed after all tests finished).
0

Please sign in to leave a comment.