Add link to tests in docs/dev/architecture.md (#4353)

Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
Yip Coekjan 2024-06-11 17:29:58 +08:00 committed by GitHub
parent a10e3324c2
commit 2b064ba197
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,16 +185,10 @@ in the active file needs to re-run. This is all handled automatically by
## Tests ## Tests
Typst has an extensive suite of integration tests. A test file consists of Typst has an extensive suite of integration tests. These tests cover parsing,
multiple tests that are separated by `---`. For each test file, we store a evaluation, realization, layout, and rendering. PDF output is sadly untested so
reference image defining what the compiler _should_ output. To manage the far, but most bugs are in earlier phases of the compiler. For more details about
reference images, you can use the VS code extension in `tools/test-helper`. testing, see the [tests directory](/tests) and its README.
The integration tests cover parsing, evaluation, realization, layout and
rendering. PDF output is sadly untested, but most bugs are in earlier phases of
the compiler; the PDF output itself is relatively straight-forward. IDE
functionality is also mostly untested. PDF and IDE testing should be added in
the future.
[docs]: https://typst.app/docs/ [docs]: https://typst.app/docs/
[`comemo`]: https://github.com/typst/comemo/ [`comemo`]: https://github.com/typst/comemo/