Testing: unit, integration, e2e

Practice · lesson 01

Why test: the pyramid and the trophy

Read the task. Finish the code in the editor. Tab expands snippets: type fn and press Tab. Check the result in out below.

The first task is already solved. Study the example, then do the other tasks yourself.

After the check, each wrong answer shows a helpful message below it.