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.
This commit is contained in:
Dane Jensen 2009-09-08 01:38:38 -07:00 committed by Max Howell
parent 72cb689bc5
commit abb5511357

12
Formula/unittest.rb Normal file
View file

@ -0,0 +1,12 @@
require 'brewkit'
class Unittest <Formula
@url='http://unittest.red-bean.com/tar/unittest-0.50-62.tar.gz'
@homepage='http://unittest.red-bean.com/'
@md5='6eaa2823620c2e21fc745bd8da6a26b2'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end