Skip to content
Ameen Abozaid
Planned lessonJNR-016-L01

Testing pyramid for Spring apps

  • Lesson 1 of 7
  • 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

know which kind of test to write.

Planned topics

  • Many fast unit tests, fewer slice tests, few full-context tests.
  • Unit: a class with plain Java, no Spring.
  • Slice: part of the app (web layer) with Spring's help.
  • Full: the whole app in a test; slowest.
  • Fast tests are run often; slow ones get skipped.
Draft outline details

Demonstration

a pyramid with three levels and a rough cost label (milliseconds, a second or two, several seconds).

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.