superand
11 years agoNew Contributor
Run the setup script from the TestSuite in each TestCase
Hello all,
I am trying to set up a testsuite where before each test I want to bring the database at a certain pre-defined state (cleaning it up and adding necessary data). I am thinking of doing it in the Setup Script of the TestSuite but I want it to be run before each test case(there are about 40 test cases so I wouldn't want to write a setup script for each test case). Is this possible? I came across this feature request [1] somewhere back from SoapUI version 3.0 which appeared to have been implemented but I did not manage to use it in the current 5.0 version of SoapUI. Can you give me any pointers on how to achieve this functionality in SoapUI 5.0?
Thank you.
[1] http://sourceforge.net/p/soapui/feature-requests/223/
I am trying to set up a testsuite where before each test I want to bring the database at a certain pre-defined state (cleaning it up and adding necessary data). I am thinking of doing it in the Setup Script of the TestSuite but I want it to be run before each test case(there are about 40 test cases so I wouldn't want to write a setup script for each test case). Is this possible? I came across this feature request [1] somewhere back from SoapUI version 3.0 which appeared to have been implemented but I did not manage to use it in the current 5.0 version of SoapUI. Can you give me any pointers on how to achieve this functionality in SoapUI 5.0?
Thank you.
[1] http://sourceforge.net/p/soapui/feature-requests/223/