iOS Start Testing


Example

Testing a specific method

To test a specific method, click the square next to the method definition.

Testing all methods

To test all methods, click the square next to the class definition.

See the testing result

If there is a green check next to the definition, the test has succeeded.

enter image description here

If there is a red cross next to the definition, the test has failed.

enter image description here

Running all tests

Product -> Test OR Cmd + U

It will run all the tests from all the test targets!