slackbuilds/development/Catch
Steven Voges cd839bd471
development/Catch: Updated for version 2.13.10. New maintainer.
Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-04-01 09:14:16 +07:00
..
Catch.SlackBuild development/Catch: Updated for version 2.13.10. New maintainer. 2023-04-01 09:14:16 +07:00
Catch.info development/Catch: Updated for version 2.13.10. New maintainer. 2023-04-01 09:14:16 +07:00
README development/Catch: Fix docs; make self-test optional. 2022-04-21 14:21:10 -04:00
slack-desc development/Catch: Added (Unit-Test, TDD, and BDD C++ Framework). 2017-01-04 12:04:34 +07:00

README

Catch stands for C++ Automated Test Cases in Headers and is a
multi-paradigm automated test framework for C++ and Objective-C
(and, maybe, C). It is implemented entirely in a set of header
files, but is packaged up as a single header for extra convenience.

Key features:

 - Really easy to get started. Just download catch.hpp,
   #include it and you're away.
 - No external dependencies. As long as you can compile
   C++98 and have a C++ standard library available.
 - Write test cases as, self-registering, functions or
   methods.
 - Divide test cases into sections, each of which is run
   in isolation (eliminates the need for fixtures!)
 - Use BDD-style Given-When-Then sections as well as
   traditional unit test cases.
 - Only one core assertion macro for comparisons.
   Standard C/C++ operators are used for the comparison -
   yet the full expression is decomposed and lhs and rhs
   values are logged.

Note: To enable Catch's self-tests, export SELFTEST=yes in the
script's environment. This doesn't affect the binary package that gets
built.