Hello, If a module has async code and we want to perform unit test on it, the normal way will cause the async code to have no chance to execute. Because the testing module is async so we have to waiting the async code complete and then do test assert. We can use XCTestExpectation for […]
Month: April 2021
iOS UI Component Testing
We usually test UI by hand in iOS development. It’s a very inefficient way. In this doc we suggest you write the UI component test in iOS development. Test by hand: Use it only in the integration phase. Need play app as a normal user. Low productivity on testing only one UI component. UI component […]