Trustworthy tests on CI
In a delivery app's iOS project the unit tests and UI tests pass locally but fail now and then only on CI. How would you cut down these flaky tests?
In a delivery app's iOS project the unit tests and UI tests pass locally but fail now and then only on CI. How would you cut down these flaky tests?
Rerun with -test-iterations until the failure reproduces to find the cause, pin down whatever is nondeterministic from run to run (time, network, randomness, shared UserDefaults) with injection and fixtures, and don't paper over it with a retry option.
TestingShort answerExpert
An app with 40 modules and 8,000 tests takes 40 minutes of CI tests. How would you change…
#ci #test-plan
TestingShort answerBasics
This is a written question on a take-home: "how do you integrate tests into your…
#ci #test-plan
TestingShort answerAdvanced
You want to introduce snapshot testing to your team. What problem does snapshot testing…
#ci
TestingShort answerBasics
You're adding automated tests to the listing feature of a secondhand marketplace app for…
#ci