Layers of test automation
You're adding automated tests to the listing feature of a secondhand marketplace app for the first time. What would you put on each of the three layers: unit tests, API contract tests, and UI tests?
You're adding automated tests to the listing feature of a secondhand marketplace app for the first time. What would you put on each of the three layers: unit tests, API contract tests, and UI tests?
Unit tests take most of the listing rules, such as price validation and required fields, a few contract tests cover the request and response shape of the listing API, and one or two UI tests walk from attaching photos to a completed listing, with the fast layers running on every PR.
TestingShort answerIntro
What's the difference between unit tests, integration tests, and UI tests?
#test-pyramid
TestingShort answerAdvanced
You want to introduce snapshot testing to your team. What problem does snapshot testing…
#ci
TestingShort answerExpert
An app with 40 modules and 8,000 tests takes 40 minutes of CI tests. How would you change…
#ci
TestingShort answerBasics
This is a written question on a take-home: "how do you integrate tests into your…
#ci