From c505a0f5dccd120d97926f6ff5bbe0becf783aeb Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Thu, 20 Apr 2023 01:47:31 -0700 Subject: Add UPDATE_EXPECT envvar to update tests (#748) --- tools/test-helper/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/test-helper/README.md') diff --git a/tools/test-helper/README.md b/tools/test-helper/README.md index d3092d0d..45e0f6e2 100644 --- a/tools/test-helper/README.md +++ b/tools/test-helper/README.md @@ -7,5 +7,8 @@ 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. -- Approve: Copies the output into the reference folder and optimizes +- 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`. -- cgit v1.2.3