Test framework
With automated build and dependency management, developers can easily build the entire project on the command line, but, as a continuous integration platform, the most important thing is testing, and the greatest benefit of continuous integration is the ability to identify problems early and reduce the cost of problem solving. And the means to find the problem is mainly testing. In Martin Fowler's Test Pyramid "10", the concept of testing the Gold tower was discussed, the concept of the Test pyramid from Mike Cohn, in his book succeeding with Agile described in detail: the bottom of the test pyramid is unit testing, Then the business logic test, if a bit more detailed, can be divided into the complete test strategy is divided into the following levels:
As a continuous integration platform, the more testing levels can be automated, the greater the value the platform can produce.
Unit Test
Currently, the most popular unit testing framework in iOS is 2: Ocunit "11" and Ghunit "12", each with its own advantages and disadvantages:
The results of the ocunit will be directly told to the developer through the pop-up window, and the running details will be printed in the Xcode Output window: