Simple unit tests for C++. No longer maintained! Add an issue if you want to take over.
C++ Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

EvanSpec: simple unit tests for C++

EvanSpec aims to be a really simple unit testing framework for C++. It has one function, called eassert.

The goals for EvanSpec were as follows:

  • One #include at the top, all the tests go into the main(). All the tests go in one CPP file.
  • One simple function that does testing.
  • Really easy to learn, really easy to see output.

EvanSpec was written to test code for completeness for a programming class at the University of Michigan. It may not be very complete, and I probably wouldn't recommend it to others. However, I did write it and I figured I should put it up online.