blob: 45e0f6e2bbb67cd431cbb609b8b29b4b74bdbd44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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: Opens the output and reference images of a test to the side.
- Refresh: Refreshes the preview.
- Rerun: Re-runs the test.
- Update: Copies the output into the reference folder and optimizes
it with `oxipng`.
For the test helper to work correctly, you also need to install `oxipng`, for
example with `cargo install oxipng`.
|