Skip to content

Lessons on your project

How a lesson finds the right case, table or trace in your own project, and what it uses when you have none.

Applies to EngineCloud
View as Markdown
On this page
  1. How Learn picks the example
  2. The lesson asks
  3. Learn looks in your project
  4. It shows its choice
  5. What a lesson can ask for
  6. No project yet
  7. What a lesson never takes

A lesson about failures is clearer when the failure is yours. So every lesson says what kind of example it needs, and Learn finds one in your project.

How Learn picks the example

  1. The lesson asks

    The lesson file says what it needs, for example «a case with at least one failure» or «a case that writes to two tables».

  2. Learn looks in your project

    It reads your map from Cases, your tables from Data and your traces from Telemetry, with your permissions.

  3. It shows its choice

    At the top of the lesson: «This lesson uses your case “Order for today”». Choose Use another to pick a different one.

What a lesson can ask for

It asks forExample from La Espiga
a case with failures«Order for today», with OutOfStock and Closed
a case that writes to several tables«Order for today» writes order and order_item: the transactions lesson
a case with a place in the app (where)«Order for today» at shop.order-for-today
a table with row-level securityorder: a customer sees only their own orders
a trace with an errora failed «Order for today» in the preview
a promise of the landing page«Order before 9 and pick up warm bread»

No project yet

Lessons use La Espiga, Sypnia’s sample bakery, until you have a project of your own. It is an open repository with a full map, a design guide, tables and a preview, so every lesson has something real to point at. Exercises on the sample run on your own copy.

What a lesson never takes

  • Rows of your data. Lessons use the names of your tables and columns, never their contents, unless you choose Use my rows for that lesson.
  • Production traces, unless you choose them. By default lessons use traces from previews and tests, and production traces are always masked the way Telemetry masks them.
  1. How Learn picks the example
  2. The lesson asks
  3. Learn looks in your project
  4. It shows its choice
  5. What a lesson can ask for
  6. No project yet
  7. What a lesson never takes

    Search pages, sections and terms