A
Alin Popa
Hi,
I the the following code:
#!/usr/bin/ruby
require 'test/unit'
# some ruby code
class TestSomeClass < Test::Unit::TestCase
def setup
# some setup
end
def test_01_firstTest
# some assertion
end
def test_02_secondTest
# some other assertion
end
end
When I'm running the script, I'm doing like this:
ruby myscript.rb -v
I see there all tests that are in my testcase.
Till now, no problem.
But I want to display (yes, just to display) my available tests from a
testcase.
Is this possible ?
If not, how there is possible to add extra parameters to command line in
order to display all tests ?
Thanks in advance.
Alin
I the the following code:
#!/usr/bin/ruby
require 'test/unit'
# some ruby code
class TestSomeClass < Test::Unit::TestCase
def setup
# some setup
end
def test_01_firstTest
# some assertion
end
def test_02_secondTest
# some other assertion
end
end
When I'm running the script, I'm doing like this:
ruby myscript.rb -v
I see there all tests that are in my testcase.
Till now, no problem.
But I want to display (yes, just to display) my available tests from a
testcase.
Is this possible ?
If not, how there is possible to add extra parameters to command line in
order to display all tests ?
Thanks in advance.
Alin