This is my code
class TestLogin < MiniTest::Test
def setup
@driver=Selenium::WebDriver.for :firefox
@driver.manage.window.maximize
@driver.navigate.to "http://google.com"
end
def test_case1
puts "testcase1"
end
def test_case2
puts "testcase2"
end
end
I want to run setup method only once for two testcases at the starting.