I want to auto rerun some testcases which failed in running time, and i hope TestCaseExit() can do that, but there are a error occurred :*** Error: A testcase cannot be called from a testcase. So can anyone help me or give me some suggestions?
It never rains but it pours.
Welcome to visit: <font color="blue">www.lantianwei.com</font>
I believe you'll need to use suite instead of plan if you are going to go with the main() function.
That being said, you can still have a plan which will call your testcases and you can have a main() function which will also call your testcases. But, you will not be able to call your main() from your plan file.