I've following code:
require 'test/unit'
class Flow < Test::Unit::TestCase
def test_hi
puts "Hi"
end
def test_working
puts "Working"
end
def test_bye
puts "Bye"
end
def test_tired
puts "Tired"
end
end
When I run it, it displays following:
Bye
Hi
Tired
Working
Looking at output, I can guess that the tests are executed in alphabetical order of the test names(i.e. alphabetical order of text field in test_text).
Actually, I want to execute my test in the order which I defined. Means for above script, I want following output:
Hi
Working
Bye
Tired
How can I achieve that?