#include "cute.h"
see CuTe for details
cute::test_suite s;
- you might consider collecting your suite's in a make_suite function or method.
You need to provide a main()-function for running your tests.
#include "cute_runner.h"
#include "cute_counting_listener.h"
#include "vstudio_listener.h"
- N.B.: vstudio_listener.h also works with a gnu environment. it then just uses stdout/stderr for reporting.
runner<counting_listener<vstudio_listener> > run;
run(s);
observe the outcome...
- ideas are: other customized listeners for timing tests, generating other output formats,
- test on other platforms (linux, macosx, ...) DONE
-
automake (?) for tests of cute.
-
more elaborate treatment of floating point numbers. May steal ideas from boost's unit testing framework. DONE through using traits and template meta programming, automatic selection of a delta, if comparing floating point numbers without specifying one.
-
better integration with IDE's DONE see http://cute-test.com
- visual studio "integration" if run in debug mode (F5) - click on error message to navigate to a failing test