#45 √ resolved
Mark Bates

rake stats doesn't work with Test::Unit::TestCase

Reported by Mark Bates | July 21st, 2008 @ 09:33 PM | in 0.6.1

If you're using Test::Unit::TestCase as the testing framework for your app and you run rake stats, then all you get is:

Initializing logging...
Loaded suite /usr/local/bin/rake
Started

Finished in 0.000248 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

You should see something like:

+----------------------------------------------------+-------+-------+--------+
|                  File                              | Lines |  LOC  |  COV   |
+----------------------------------------------------+-------+-------+--------+
|app/controllers/default_controller.rb               |     8 |     5 | 100.0% |
|...helpers/controllers/default_controller_helper.rb |     7 |     6 | 100.0% |
|app/helpers/views/application_helper.rb             |     7 |     6 | 100.0% |
+----------------------------------------------------+-------+-------+--------+
|Total                                               |    22 |    17 | 100.0% |
+----------------------------------------------------+-------+-------+--------+
100.0%   3 file(s)   22 Lines   17 LOC

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Mack is a Ruby web application framework focused on writing distributed, portal-like, applications. it's built on best of breed technologies, such as Rack, Cachetastic, and DataMapper.

Shared Ticket Bins

People watching this ticket