# Re: code coverage of ironruby code

**URL:** <https://www.ruby-forum.com/t/re-code-coverage-of-ironruby-code/176004>\
**Category:** IronRuby\
**Created:** [September 23, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/re-code-coverage-of-ironruby-code/176004 "2009-09-23T16:46:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [September 23, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/re-code-coverage-of-ironruby-code/176004/1 "2009-09-23T16:46:36Z")

</div>

Both of those libraries have integration with rcov, so if you were to  
look into porting that library it might help. Otherwise we may need to  
look into writing something custom.

* * *

From: Ivan Porto C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: September 23, 2009 2:26 AM  
To: ironruby-core [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: [Ironruby-core] code coverage of ironruby code

Hi

Is there a way to get the code coverage when running RSpec or Test::Unit  
stuff with ironruby? It would help me a lot to set build tresholds etc.

Because I guess the C# tools won’t be able to do it and the ruby tools  
neither.

Is it in the cards? What would it take to implement something like that  
for IronRuby?

* * *

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))
