Over a million developers have joined DZone.

gtest C++ Unit Testing Test Adapter for Visual Studio 2012 Now Available


Visual Studio Gallery - Google Test Adapter

Unit Test Adapter for Google Test (gtest).

This is a beta release of an unit test adapter for Visual Studio 2012 supporting gtest tests.

To browse, run and evaluate your gtest tests just build your solution and open the Test Explorer via the TEST menu. You can find more information regarding gtest here.





Google's framework for writing C++ tests on a variety of platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests, and XML test report generation.


Google Test-related open source projects

Google Test UI is test runner that runs your test binary, allows you to track its progress via a progress bar, and displays a list of test failures. Clicking on one shows failure text. Google Test UI is written in C#.  ..."

Now this is something I doubt I'll hear much about here at //build/ so I guess it makes it a perfect blog post for today, doesn't it?

Why? Because this shows just awesome Visual Studio 2012's new Unit Testing is. Oh sure, there's some things I really really hate in the RTM version (which I hope will be fixed in Update 1 [Note to Self: talk to the VS team here at //build/ about this]) but still I think it's pretty cool that even a unit testing tool from Google can be integrated into Visual Studio.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}