.. _unittest-features: Features ======== - Lightweight, just a few header files. - Rich, expandable, set of assertions, including assertions for exceptions and collections (arrays, vectors, sets etc.). - Simple and intuitve syntax, just ordinary C++. - Both test setup/teardown and suite setup/teardown methods. - Possibility to run all tests, all tests in a single suite or just a single test. .. index:: example; unittest A trivial example ----------------- This is a trivial but complete example to give the "look and feel" of wide::unittest. .. literalinclude:: ../../example/unittest/example-01/example-01.cpp The output of this program when run will, if all tests pass, be: .. literalinclude:: ../../example/unittest/example-01/example-01.out :language: none