Brijesh Shah wrote:
Hi I am using rcov to generate code coverage. But I don't know how to
write cases for that...
I have installed rcov gem and and execute rcov test/*.rb command. It
shows me some code coverage in files.
Can anyone help me by giving example that how to write test cases and
where to write...
Thanks in advance...
You did not get my point....
I am not getting how to create test cases in test files...like in
require File.dirname(__FILE__) + '/test_helper'
class UserTest < ActiveSupport::TestCase
# Replace this with your real tests.
what should be write in particular definition and how it will work? so i
can generate other test cases..