diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-04-16 05:44:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-16 09:44:38 +0000 |
| commit | 5415095ef3743048c9aa363b02722e89e2d01d81 (patch) | |
| tree | 2d33502531462563e5bf51471c1fc3daf4fade69 /tests/README.md | |
| parent | 1f8454fa545a045478a5689f335b6b143c2ac00e (diff) | |
Better instruction in test READMEs (#3929)
Diffstat (limited to 'tests/README.md')
| -rw-r--r-- | tests/README.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/README.md b/tests/README.md index 6cc79217..f817e8f9 100644 --- a/tests/README.md +++ b/tests/README.md @@ -24,14 +24,17 @@ You may want to [make yourself an alias](#making-an-alias) like: testit ``` -Running all tests whose paths contain the string `page` or `stack`. +Running all tests whose names contain the string `page` or `stack`. Note each +`.typ` file in this directory can contain multiple tests, each of which is a +section of Typst code following `--- {name} ---`. ```bash +# Add --verbose to list which tests were run. testit page stack ``` -Running a test with the exact filename `page.typ`. +Running a test with the exact test name `math-attach-mixed`. ```bash -testit --exact page.typ +testit --exact math-attach-mixed ``` To make the integration tests go faster they don't generate PDFs by default. |
