osiewicz / GetOptPlusPlus

C++ library for command line parameter parsing.
Other
0 stars 0 forks source link

Add test cases #2

Open osiewicz opened 6 years ago

osiewicz commented 6 years ago

Ideally, we should use Criterion - well, not 'ideally' per se, that's just what I'm reasonably comfortable with. Feel free to share your favorite unit testing framework before we go forth with test creation.

Cheers

madduci commented 6 years ago

Hi, you can even use Doctest which is header only and C++98/11 compatible and really fast. See #4

osiewicz commented 6 years ago

I'll take a look at it. Cheers. :)

osiewicz commented 6 years ago

I'm not sure about Doctest - its syntax seems weird (no offense, it's just my opinion). I'll prepare an example Criterion test.

Disclaimer: I'm used to Criterion so there's definitely bias.