← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #134349]: setUp and tearDown per class not per test fixture

 

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

RaiMan proposed the following answer:
And here how to get the number of tests:

import inspect
numberOfTests = len([e for e in inspect.getmembers(self) if e[0].startswith('test')])

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.