Mike McQuaid
9531ecc72a
Use bundler for test gem dependencies.
...
Closes Homebrew/homebrew#31986 .
References Homebrew/homebrew#31981 .
2014-09-10 13:29:14 +01:00
Jack Nagel
480e3ec855
Make sure compatible gem versions are installed
2014-06-18 20:34:10 -05:00
Jack Nagel
06305e6211
Switch to Minitest
2014-06-18 20:34:09 -05:00
Jack Nagel
cd4b801749
Simplify test setup
2014-06-10 19:44:46 -05:00
Jack Nagel
ba856de06e
Remove rcov rake task
...
rcov is not compatible with Ruby 2.0.
2014-06-10 17:50:33 -05:00
Jack Nagel
b7a0602f72
Remove ruby-prof rake task
...
The areas that we are interested in optimizing for performance are
things that are invoked repeatedly, and are not evident in the test
suite.
2014-06-10 17:50:33 -05:00
Mike McQuaid
17667c03d0
Add deps target to tests Rakefile for needed gems.
2013-04-26 22:32:26 +01:00
Jack Nagel
8cc3479fb7
tests: add profiling support
...
`rake profile` will run ruby-prof on the test suite if the ruby-prof gem
is installed.
2012-11-17 22:59:06 -06:00
Jack Nagel
be8827d8a4
tests: avoid unnecessary chdir
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30 00:10:02 -05:00
Jack Nagel
b7bdd2f578
tests: support "rake rcov" if rcov is installed
...
If the rcov gem is installed, `rake rcov` will generate a test coverage
report in the coverage directory.
I picked rcov because it is 1.8 compatible. But it could easily be
swapped out for another coverage tool.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 15:56:36 -05:00
Jack Nagel
c44cb2710b
tests: replace tests script with rake-based runner
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16 23:08:32 -05:00