Skip to main content
UNIT-TESTING-BASICS5 MIN READ

Sort Scenarios By Test Layer

Classify testing scenarios by the lowest appropriate layer of the test pyramid.

Place each scenario at the layer that should own the first proof. Unit test Integration test End-to-end test Exploratory review Discount function returns no discount for expired coupon Payment adapter sends application_fee_amount in cents Guest can complete checkout from cart to receipt New checkout layout feels understandable on mobile Password validator rejects blank passwords Repository query maps database rows into order objects Critical signup path works after auth middleware change Unexpected support workflow might reveal missing states

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us