Documentation is generated with doxygen.
The following are reports generated by TDOG when testing itself:
TDOG is distributed under the Apache 2.0 open source license, as follows:
Copyright (c) 2016 Andy Thomas
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
TDOG is a lightweight, portable and open source C++ xUnit Testing Framework. It features:
TDOG supports many things, but excludes mocks. It is maintained for g++ for LINUX, MSVC and MinGW on Windows.
TDOG can be found at: github.com/bigangrydog/tdog
See the README file for instructions on building TDOG, including the self-test binary which will generate the test reports, above right.
Possibly because they are so much fun to write!
There are certainly a few C++ test frameworks out there, and one or two good ones at that, including GoogleTest. So why TDOG?
Well, I actually started TDOG many years ago after trying out a popular framework, but found it a little cumbersome. So I put together a few test macros of my own with a HTML reporting capability. It was never intended to be much more than that, but I liked the HTML reports it generated, so kept using it for my own projects — and extending it of course.
More recently, I read Noel's excellent article, Exploring the C++ Unit Testing Framework Jungle, and thought that TDOG (with a few additions) would come close to his ideas on "what makes an ideal testing framework". So I added the things TDOG was lacking, including XML output, repeated tests and warnings, and released it under an open source license.
So here you are — another test framework!