rspec - how to call a test script from another test script? -
for example : consider log in function .it requried test cases .i want call log in test script test scriptooking making b ?iam using capybara , rspec automation .
one possibility write helper method in login_helper example, , call method tests.
another possibility create parent class test classes need log in function , put in before(:each) hook.
Comments
Post a Comment