Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesstelford/unittestpp-example
An example of unit testing with the UnitTest++ famework in C++
https://github.com/jesstelford/unittestpp-example
Last synced: 28 days ago
JSON representation
An example of unit testing with the UnitTest++ famework in C++
- Host: GitHub
- URL: https://github.com/jesstelford/unittestpp-example
- Owner: jesstelford
- Created: 2012-12-31T00:56:58.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-31T01:23:33.000Z (about 12 years ago)
- Last Synced: 2024-06-14T20:57:56.056Z (7 months ago)
- Language: C++
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UnitTest++ Example
This is an example of using [UnitTest++ framework](http://unittest-cpp.sourceforge.net/) to do unit testing for a game.
Note that it is not complete, and is purely an example of some passing tests.
Modify some of the code (for example, the starting position of the Physics
Object) and see what happens.## Setup
You will have to update the include path of UnitTest++.h in `main.cpp` to point to your
installation.Also, update the path to the libUnitTest++ library file in `Makefile`
## Compiling and running
$ cd /path/to/src
$ make clean && make all
$ ./tests