holgerschmitz/Schnek

unit tests

Closed this issue · 2 comments

Schnek does not have any unit testing. This needs to be fixed.

Since Schnek relies on the Boost libraries anyway, we might as well use Boost.Test. The general idea is to start by converting all the example into tests and extend the testing to cover various possible issues.

There are some basic tests already in the testsuite directory. These are run using make check.

All existing tests are now using Boost Test.
More tests will be added over time.