ui testing - How to call a method after executing all test cases in XCTestCase? -


i'm having ui test class (say myuitests). myuitests class contains n number of test cases. know setup() , teardown() before , after each test cases.

what expect: want run method initiates pre-setup test cases. 1 time setup. means, before executing n number of test cases, want run method(say initialonetimesetup()) once. in same way, want run method(say finalteardown()) delete pre-setup. method should called after n number of test cases executed.

how can achieve this? there xctestcase delegates served purpose?

thanks


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -