← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678689]: Mojave : SikuliX IDE : Suite Setup works but Suite Teardown fails in this example

 

Question #678689 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678689

RaiMan posted a new comment:
so steps 1 - 3 have to be done in suite setup, step 4 done in the test setup and step n in the suite teardown.
this would be according to the unit-test philosophy.

Another option using global variables might be:
step 1-3 in the test setup only the first time and then step 4
no need to have any teardown, if you just do step n in the last testcase.
(... but you will not get much applause from the unit-testers ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.