Test types and the pyramid
What's the difference between unit tests, integration tests, and UI tests?
What's the difference between unit tests, integration tests, and UI tests?
A unit test isolates one function or type and runs in milliseconds, an integration test checks that several modules really mesh, and a UI test launches the app and walks a user scenario end to end. The higher you go, the slower, flakier, and more expensive it gets.
TestingShort answerAdvanced
You have dozens of UI tests that are slow and break often. How would you restructure the…
#unit-test #ui-test
TestingShort answerIntro
A teammate says they'd rather build one more feature than spend the time writing tests…
#unit-test
TestingShort answerBasics
You got a take-home for a minimal iOS app with basic unit tests, and the brief says to…
#unit-test
TestingShort answerAdvanced
This one comes up onsite: "how does your team use tests today, and how would you follow…
#ui-test