tags:

views:

1453

answers:

5

Seems a great C++ unit testing framework. I'm just wanting something a bit more sophisticated than the console output for running the test, also something that makes it really easy to run specific tests (since gtest supports all kinds of test filtering)

If there is nothing, I'll probably roll my own

+8  A: 

According to the project owner, there isn't. If you do work on one, do post to the project's group. I'm sure there are some folks there who'd like to help.

Gordon Wilson
am having a crack at doing a visual studio plugin that will run the tests. Bit of a sidetrack project so not sure when it will be done, and the extensibility of visual studio is quite complicated at first it seems!
Keith Nicholas
+2  A: 

This only solves the viewing problem, but gtest can produce JUnit compliant XML Reports. From that it should be possible to feed it into a test runner:

http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Generating_an_XML_Report

Greg Malcolm
+2  A: 

Industrial Logic has an Eclipse plugin for running and displaying results from gtest. The update site is http://industriallogic.com/update/

Pat Notz
+6  A: 

I opened a google code project that adds UI to google test. Runs on both Windows and Unix. It is not a plugin to any IDE by design - I did not want to tie myself. Instead you open it in the background and press the "Go" button whenever you want to run.

As of this writing V1.2.1 is out and you are invited to give it a try.

http://code.google.com/p/gtest-gbar/

ospec
+1  A: 

The industrial logic plugin, which doesn't seem to be available anymore, was based on the cute eclipse plugin: http://r2.ifs.hsr.ch/cute/.

I think it should be minimal effort to adapt it. The original plugin used to parse the command line. Using an XML Report like suggested above will get you there even faster...