Skip to content
Ameen Abozaid
Planned lessonJNR-054-L03

Environment differences

  • Lesson 3 of 6
  • 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

explain "works on my machine".

Planned topics

  • Compare config (environment variables, profiles), data (size, special values), and versions (Java, database, libraries).
  • Check the image tag and Git commit that is actually running.
  • Production data has cases test data lacks: nulls, long text, accents, large volumes.
  • Time zones, locales, and file paths differ between machines.
  • Make environments alike: same image, same database version (Testcontainers helps).
Draft outline details

Demonstration

a table: item / local / production, with rows for Java version, DB version, profile, data size, time zone.

Check your understanding

Name two kinds of environment difference.

Show answer

For example config values, data, library versions.

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.