Running tests and interpreting results | Apple Developer Documentation

Run tests to determine whether your project’s code behaves as you expect.