ApprovalTests.Java automatically downloads utility scripts from ApprovalTests.CommonScripts to .approval_tests_temp/ when tests run. This may be undesirable in CI/CD environments or restricted network environments.
Set the environment variable APPROVALTESTS_DISABLE_SCRIPT_DOWNLOADS=1:
export APPROVALTESTS_DISABLE_SCRIPT_DOWNLOADS=1
mvn testOr as a system property:
mvn test -DAPPROVALTESTS_DISABLE_SCRIPT_DOWNLOADS=1Log files are still created. Only script downloads are prevented.