mirror of
https://github.com/typst/typst
synced 2025-05-19 03:25:27 +08:00
This extension enables you to - quickly open the actual and reference output for a test case to the side - re-run the test with the click of a button - approve the test output (moves output to reference folder and optimizes with oxipng)
10 lines
440 B
Markdown
10 lines
440 B
Markdown
# Test helper
|
|
|
|
This is a small VS Code extension that helps with managing Typst's test suite.
|
|
When installed, three new buttons appear in the
|
|
menubar for all `.typ` files in the `tests` folder.
|
|
|
|
- Open test output: Opens the output and reference images of a test to the side.
|
|
- Refresh test output: Re-runs the test and reloads the preview.
|
|
- Approve test output: Copies the output into the reference folder and optimizes it with `oxipng`.
|