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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -