mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Add link to tests
in docs/dev/architecture.md
(#4353)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
a10e3324c2
commit
2b064ba197
@ -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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user