This section covers buddybuild’s test infrastructure.
For each test run defined in your projects, buddybuild provides:
Code snippets for failed tests
If your test failed due to an assertion, the test details page shows a code snippet of the failing tests with the failed assertion highlighted.
Screenshots for all UI tests
Xcode takes screenshots of your app whenever it runs your UI tests. During a test run activity such as a swipe or tap causes a new screenshot to be recorded.
If your test is a UI test, the test details page contains the screenshots capture by Xcode. Each screenshot appears with a description of the corresponding activity.
A detailed call stack for app crashes during test runs
If you app crashes during a test, the test details page contains a call stack of the crash and a code snippet for each method call from your app.
FBSnapshotTestCaseis a testing framework that lets you easily test your app’s views. It generates a snapshot of your view during a test and compares it to a reference image that your include with your source code.
If your project has a
FBSnapshotTestCasetest that fails, the test details page displays the reference image, the generated image, and a snapshot diff; an image highlighting where changes have occurred.
All of the logs generated by the
Raw logs generated by
xcodebuildare available in the test details page. System logs generated by your app are also included there.