From 65cf4e87d26e778ca8ed494f202c496c8211bba1 Mon Sep 17 00:00:00 2001 From: Dane Jensen Date: Tue, 8 Sep 2009 01:38:38 -0700 Subject: Unittest formula This is the web page for a C++ unit test framework. Its design goals are to be simple, to be idiomatic C++, and to follow the basic xUnit style to the extent that doing so is compatible with the earlier goals. Its main differences from other xUnit frameworks are that it uses constructors and destructors for setup/teardown and that it requires you to represent tests as classes, instead of methods. --- Library/Formula/unittest.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Library/Formula/unittest.rb (limited to 'Library/Formula') diff --git a/Library/Formula/unittest.rb b/Library/Formula/unittest.rb new file mode 100644 index 000000000..342b0cbb1 --- /dev/null +++ b/Library/Formula/unittest.rb @@ -0,0 +1,12 @@ +require 'brewkit' + +class Unittest