Page 1 of 1

Run TestCase and Setup from testsuite at same time?

Posted: Fri Mar 22, 2019 2:17 pm
by MJesper
Hi, I want to be able to run a TestCase and always have "Setup" to run in the test suite, at the moment if you run a test case the setup in the test suite never runs. I have some required things that has to run at the start of the test suite at every test case.

My current workaround is disabling everything I don't want to run and then run from the TestSuite, but this is extremely funky and doesn't feel very convienent to use (especially when you have a couple of test cases)


PS:
I don't want to have to make a setup for every test case that contains the same things.

Re: Run TestCase and Setup from testsuite at same time?

Posted: Fri Mar 22, 2019 2:31 pm
by Stub
Could you group the [Setup] modules into a Group Module and than apply that in the Test Cases? That would avoid a bit of duplication.

I do something similar in our Test Suite, structuring thing into nested folders, which means I have to sometimes perform the skipped [Setup]s manually e.g. open the AUT, open a file, open a dialog, whatever it may be, so that I can run the individual Test Case.