From 5415095ef3743048c9aa363b02722e89e2d01d81 Mon Sep 17 00:00:00 2001 From: Leedehai <18319900+Leedehai@users.noreply.github.com> Date: Tue, 16 Apr 2024 05:44:38 -0400 Subject: Better instruction in test READMEs (#3929) --- tests/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') 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. -- cgit v1.2.3