Thursday 10 February 2011

Integrating Google test results with cruisecontrol.net

As all the projects that in my cruisecontrol.net configuration are written under c++ including the tests, there was a need to display the test results on the webdashboard.

First I started off with NUnit, why? I am lazy and all the stylesheets were already available, so all I was left was to write unit tests, did I enjoy it? NO! It felt clumsy to test unmanaged code.

Then I stumbled upon Google's gTest. Did I enjoy it? Yes! It's simple and straight forward. But displaying the test results just like NUnit was a problem, so modified the available nunit stylesheet.

Here are the screen shoots:



 

Then the detailed view:



That's it.

2 comments:

Anonymous said...

Could you please share the stylesheet you created for GTest-CruiseControl.NET integration with us? It would be really helpful :) Thanks!

Hemal Vadgama said...

sure, need your contact