Testleaf

Learn to speak Testleaf.

It's a tiny language. One sentence per step, names in quotes. Six short pages, 250 practice questions, and you're fluent.

Start the first page
Phrasebookp. 1

You say

Press the sign in button

Testleaf says

I

Grammar

Every Testleaf sentence is built the same way. Learn the shape once and you can read any test.

Hover a word. Sentences change every few seconds.

1One step, one line.Each line does exactly one thing. Start a line with // to skip it.
2Names in "quotes".Write them the way the page shows them: the button's words, the field's label. Case doesn't matter.
3Do, then expect.Step boxes do things. The Expected result under a box checks what is now true. Checks start with expect.
II

Vocabulary

Every standard step and check, on one table. Click a tile to read its card. Search, or pick a family to light it up.

III

Red pen

Write a line another way and Testleaf never guesses. It marks the line, like a teacher, and writes the standard form next to it. One click applies it.

Homework: log in and choose a country

✗click sign in buttonclick "sign in"names go in quotes
✗Enter email address into email input fieldtype "email address" into "email"type … into …
✗select Bangladesh from country dropdownselect "Bangladesh" from "country"quotes again!
✗press "Save"click "Save"press is for keys
✓expect logged in
B+Good effort.
Mind your quotes.

And when the site changes

A button called Register becomes Create account. The run fails on that line, shows the closest match on the page, and offers the fix:

4click option 2 in "Plan"✓
5click button "Register"✕
Suggestedclick button "Create account"Apply fix
IV

Shelves

Where everything lives. Each folder sits inside the one around it, the way a test plan already does.

Book

One website: its address, saved login and test data.

Module

A feature area. Auth, Checkout, Profile.

Chapter

One scenario. A whole-chapter run starts with a fresh browser. Run first chains chapters: login before Buy.

Step box

One test case, with its own Expected result underneath.

Stepclick "Sign in"
V

Pop quiz

250 questions from real sites: shops, banks, hospitals, HR. Ten per round. The ones you miss come back until you've got them.

0 of 250 mastered
Question 1 of 10

Keys: a b c to answer, Enter for next
VI

Your turn

Make a book with your site's address, add a chapter called login, and write these five lines. That's a real test.

That's it. You speak Testleaf.

Starter is free. Stuck on a line? In the app, click it and open Next on the page: every button, field and check on the page is listed, already written for you.