Rcov plugin overwrites its results?


#1

Hi,

rake test:test:rcov

This outputs to my console proper results. All test are run and coverage
percentage differs when running functional/integration/unit tests.

But at the and I get only one folder “coverage/test” with the last
results in HTML format.

The logs of the plugin say (3 times):
(…)
View the full results at <file:///foo/coverage/test/index.html>
(…)
View the full results at <file:///foo/coverage/test/index.html>
(…)
View the full results at <file:///foo/coverage/test/index.html>

So the plugin overwrites its output. Any idea how to make it work?

Any help appreciated.

M.


#2

My friend found a workaround solution.

If anybody is interested its posted here
http://programmers-blog.com/2009/06/05/rconv-rails-rake-task-test-test-rcov-overwrites-its-output

M.


#3

Michal B. wrote:

My friend found a workaround solution.

If anybody is interested its posted here
http://programmers-blog.com/2009/06/05/rconv-rails-rake-task-test-test-rcov-overwrites-its-output

M.

I personally type: rake test:coverage and it works fine.


#4

Fernando P. wrote:

I personally type: rake test:coverage and it works fine.

I have no such task.
You probably use
http://clarkware.com/cgi/blosxom/2007/01/05/RcovRakeTask
But this generates separate coverage results for each test bundle. I
want a overall one.

M.