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:
parent
72cb689bc5
commit
abb5511357
1 changed files with 12 additions and 0 deletions
12
Formula/unittest.rb
Normal file
12
Formula/unittest.rb
Normal 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
|
Loading…
Reference in a new issue