# Rcov plugin overwrites its results?

**URL:** <https://www.ruby-forum.com/t/rcov-plugin-overwrites-its-results/169507>\
**Category:** Rails\
**Created:** [June 4, 2009, 5:43pm UTC](https://www.ruby-forum.com/t/rcov-plugin-overwrites-its-results/169507 "2009-06-04T17:43:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bb73d2/32.png) [@benol](https://www.ruby-forum.com/u/benol)\
**Post date:** [June 4, 2009, 5:43pm UTC](https://www.ruby-forum.com/t/rcov-plugin-overwrites-its-results/169507/1 "2009-06-04T17:43:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![benol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bb73d2/32.png) [@benol](https://www.ruby-forum.com/u/benol)\
**Post date:** [June 5, 2009, 3:04pm UTC](https://www.ruby-forum.com/t/rcov-plugin-overwrites-its-results/169507/2 "2009-06-05T15:04:57Z")

</div>

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](http://programmers-blog.com/2009/06/05/rconv-rails-rake-task-test-test-rcov-overwrites-its-output)

M.

---

<div class="post-metadata">

**Author:** ![benol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bb73d2/32.png) [@benol](https://www.ruby-forum.com/u/benol)\
**Post date:** [June 5, 2009, 11:01pm UTC](https://www.ruby-forum.com/t/rcov-plugin-overwrites-its-results/169507/3 "2009-06-05T23:01:46Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![benol](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bb73d2/32.png) [@benol](https://www.ruby-forum.com/u/benol)\
**Post date:** [June 6, 2009, 9:00am UTC](https://www.ruby-forum.com/t/rcov-plugin-overwrites-its-results/169507/4 "2009-06-06T09:00:05Z")

</div>

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](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.
