Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A highly portable, simple C++ xUnit library
C++
Branch: master

This branch is 1 commit ahead, 63 commits behind tpounds:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
COPYING
README
tpunit++.hpp
tpunit++main.cpp
tpunit++test.cpp

README

tpunit++
========
A highly portable, simple C++ xUnit library contained in
a single header. Documentation and downloads are available
at http://github.com/tpounds/tpunitpp.

tpunit++ is licensed under the MIT License.
(http://www.opensource.org/licenses/mit-license.php)

Installation
============
Add tpunit++.hpp anywhere to your C++ compiler's include path,
add test cases and compile together with tpunit++main.cpp or
a custom user-defined main method.

Tested Compilers
================
tpunit++ has been tested on several compiler vendors and releases, however,
I have not exhaustively tested it against everything out there.  That said,
I do not forsee any complications getting this library to work with any
compiler supporting basic C++ features and a minimal libc implementation.
If you do happen to run into problems on a compiler I have not tested against,
please crete a ticket on the issue tracker so it can be fixed.

|-----------------|----------------------------|--------|
| version         | flags                      | status |
|-----------------|----------------------------|--------|
| GCC (http://gcc.gnu.org)                              |
|-------------------------------------------------------|
| 2.95.3          | <default>, -fno-exceptions | works  |
| 3.0.4           | <default>, -fno-exceptions | works  |
| 3.1.1           | <default>, -fno-exceptions | works  |
| 3.2.3           | <default>, -fno-exceptions | works  |
| 3.3.6           | <default>, -fno-exceptions | works  |
| 3.4.6           | <default>, -fno-exceptions | works  |
| 4.0.4           | <default>, -fno-exceptions | works  |
| 4.1.2           | <default>, -fno-exceptions | works  |
| 4.2.4           | <default>, -fno-exceptions | works  |
| 4.3.5           | <default>, -fno-exceptions | works  |
| 4.4.5           | <default>, -fno-exceptions | works  |
| 4.5.1           | <default>, -fno-exceptions | works  |
|-----------------|----------------------------|--------|
| MSVC++ (http://www.microsoft.com)                     |
|-------------------------------------------------------|
| 6.0             | <default>, /EHsc           | works  |
| .NET 2002 (7.0) | <default>, /EHsc           | works  |
| .NET 2003 (7.1) | <default>, /EHsc           | works  |
| 2005 (8.0)      | <default>, /EHsc           | works  |
| 2008 (9.0)      | <default>, /EHsc           | works  |
| 2010 (10.0)     | <default>, /EHsc           | works  |
|-----------------|----------------------------|--------|
| Borland C++ (http://www.borland.com)                  |
|-------------------------------------------------------|
| 5.5             | <default>                  | works  |
|-------------------------------------------------------|
| Open Watcom (http://www.openwatcom.org)               |
|-------------------------------------------------------|
| 1.0             | <default>                  | broken |
| 1.1             | <default>                  | broken |
| 1.2             | <default>                  | broken |
| 1.3             | <default>                  | broken |
| 1.4             | <default>                  | works  |
| 1.5             | <default>                  | works  |
| 1.6             | <default>                  | works  |
| 1.7             | <default>                  | works  |
| 1.8             | <default>                  | works  |
| 1.9             | <default>                  | works  |
|-------------------------------------------------------|
| Clang (http://clang.llvm.org/)                        |
|-------------------------------------------------------|
| 2.6             | <default>, -fno-exceptions | works  |
| 2.7             | <default>, -fno-exceptions | works  |
| 2.8             | <default>, -fno-exceptions | works  |
|-------------------------------------------------------|
Something went wrong with that request. Please try again.