From: Disha Tamhane Date: 2007-05-21T22:28:54+09:00 Subject: Need some help.. ------=_Part_102673_26185348.1179754131306 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have a script in one file say "a.rb". I have another file "tc_a.rb" which is a test case for "a.rb" I have called a specific script in "a.rb" by using the system() command from "tc_a.rb" Now when i am using rcov to get the code coverage, although an if -else block in "a.rb" is getting executed, rcov doesn't seem to recognise it... it still shows the block as not covered...May be because it is getting called through the system command This particular if-else block is an independent one i.e. not present in any method in "a.rb" I need to get this block covered... Can someone suggest a solution? Thanks Disha ------=_Part_102673_26185348.1179754131306--