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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -