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
Post a Comment