From 4ff59baf5e8268d607643aeec23d113cd40324c7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 20 Feb 2021 23:41:42 +0100 Subject: =?UTF-8?q?VS=20Code=20extension=20for=20easier=20testing=20?= =?UTF-8?q?=F0=9F=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- tools/test-helper/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tools/test-helper/README.md (limited to 'tools/test-helper/README.md') diff --git a/tools/test-helper/README.md b/tools/test-helper/README.md new file mode 100644 index 00000000..8494edeb --- /dev/null +++ b/tools/test-helper/README.md @@ -0,0 +1,9 @@ +# 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`. -- cgit v1.2.3