Skip to content
Ameen Abozaid
Planned lessonJNR-047-L04

Shaping a healthy suite

  • Lesson 4 of 5
  • Junior
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

balance fast tests and confidence.

Planned topics

  • Many unit tests (fast), a moderate number of slice tests, few full integration tests.
  • Fast feedback matters: unit tests in seconds, the whole suite in minutes.
  • Do not test the same thing at every level.
  • Track runtime and flaky tests; fix or delete tests nobody trusts.
  • A failing test should point to the cause quickly.
Draft outline details

Demonstration

a pyramid with counts and times, for example unit 300 (10 s), slice 60 (40 s), integration 20 (3 min).

Check your understanding

Which level should have the most tests?

Show answer

Unit tests.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.