Welcome to WinUnit!

WinUnit offers a unique approach to unit testing native (C/C++) code on Windows.

.NET languages have great unit testing tools such as NUnit or MSTest, but native C/C++ developers have fewer and less convenient options. WinUnit is a project that brings NUnit-like testability directly to native code. With WinUnit, you focus on just your test code and WinUnit takes care of the rest. It comes wtih a complete library that makes creating tests simple, and a runner program to run them.

WinUnit was originally introduced in the article "Simplified Unit Testing for Native C++ Applications" by Maria Blees in the February 2008 issue of MSDN Magazine. Click here to read the article and learn more about WinUnit.

Downloads

Features
  • One executable which runs tests in separate DLLs
  • One header file to make writing tests easier
  • Logger extensibility
  • Easy to automate
  • Macros for use in Visual Studio

Getting Started

Last edited Feb 4, 2010 at 11:40 PM by mkblees, version 16