.NET Zone is brought to you in partnership with:

I’ve been a Windows developer since 3.0 and caught the Visual Basic wave early with v1. I’ve released a “production” application in every version of VB since then (except VB for DOS). Focusing on enterprise, line-of-business development I’ve built Call Center Applications, Mortgage finance systems, Customer Relationship Management tools and more recently I’ve been in the Litigation Support/Electronic Data Discovery/Electronically Stored Information space. Greg is a DZone MVB and is not an employee of DZone and has posted 481 posts at DZone. You can read more from them at their website. View Full User Profile

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

  • submit to reddit

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.

Published at DZone with permission of Greg Duncan, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)