Software Testing:
The goal of software testing is to serve the goals of the software project, and to improve the efficiency of software development and the quality of software development by recommending feedback using more efficient methods and tools. At the same time, through a number of means, earlier, faster and more to identify defects, calmly reduce the risk of these defects.
Software testing is done to eliminate even more bugs, although not being able to eliminate outright.
But the quality of software is not through software testing, but by software development engineers.
Benefits of software Testing:
1, the test can prevent the software, and then respond to the software development engineer, so quickly find errors in a timely manner.
2, the detection of software defects.
Types of software tests:
Unit tests (unit Tests), inheritance tests (integration Tests), System tests (systems Tests)
Unit Test: Unit is the smallest test unit, according to the actual situation to judge, generally speaking, the function is not able to split the module or function. The unit test framework in the Eg:smarltalk language is sunit in OC: JUnit test Framework, JUnit Ocunit, and so on.
Integration testing: The simple form is that the two tested units are combined into one component and test the interface between them. A component can be a collection of multiple cells. Components can also be combined into larger parts. The method is to test the composition of the fragment and eventually expand it into a process to test the module with the other group's modules. Finally, the final module is tested.
The tests in iOS are categorized as "API interface Test" and "iOS Functional Integration test".
API interface testing refers to: eg: an iOS program uses the functionality of a backend service in the form of a network request, and the test requires a network request and is expected to match accordingly. (That is, whether the completion of the function meets the expectations)
iOS feature integration test:--> functional testing. Tests in iOS that are heavily in the UI interface.
System testing: hardware, software equipment and systems are grouped together for system assembly testing and validation testing of information. is a test for the entire product, the last of the total three steps.
Consider two issues: 1) Hardware equipment (network, etc.) 2) system platform, considering the different system platform aspects of the performance is the same.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Software testing, testing concepts in iOS, and steps