summaryrefslogtreecommitdiffstats
path: root/development/Catch/README
diff options
context:
space:
mode:
author Andre Barboza <bmg.andre@gmail.com>2017-01-04 12:04:34 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-04 12:04:34 +0700
commit5ff5a7186ad1d6d55e8e8a123f16c85803e9f810 (patch)
tree7caeadd523c54aa0cbd8e5d7ce81c1f5ea3426d6 /development/Catch/README
parent6e59605d72dcfa62600b5f598fcce00cd81e9c44 (diff)
downloadslackbuilds-5ff5a7186ad1d6d55e8e8a123f16c85803e9f810.tar.gz
slackbuilds-5ff5a7186ad1d6d55e8e8a123f16c85803e9f810.tar.xz
development/Catch: Added (Unit-Test, TDD, and BDD C++ Framework).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/Catch/README')
-rw-r--r--development/Catch/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/development/Catch/README b/development/Catch/README
new file mode 100644
index 0000000000..6023fbb3c9
--- /dev/null
+++ b/development/Catch/README
@@ -0,0 +1,21 @@
+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.