From 69db984c0e3d9c2013a5be353c5a7cffb9fb058f Mon Sep 17 00:00:00 2001 From: Andrea Peruffo Date: Fri, 4 Oct 2024 12:23:59 +0100 Subject: [PATCH] Add a note on the env var to be used with Approval tests --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6c3c8a7b..736405f97 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -79,6 +79,11 @@ Because we are all humans, and to ensure Chicory evolves in the right direction, Don't forget to include tests in your pull requests. Also don't forget the documentation (reference documentation, javadoc...). +To automatically apply and approve e new version of the "Golden samples" used by the Approval tests you can use the environment variable: +``` +APPROVAL_TESTS_USE_REPORTER=AutoApproveReporter +``` + ## Reporting an issue This project uses GitHub issues to manage the issues. Open an issue directly in GitHub.