approvals / ApprovalTests.Python

ApprovalTests for python
Apache License 2.0
147 stars 52 forks source link

F ApprovalTests Hooks #174

Open nitsanavni opened 1 month ago

nitsanavni commented 1 month ago

Example:

.approvals/hooks/pre-compare

#!/bin/sh

RECEIVED_FILE_PATH=$1
APPROVED_FILE_PATH=$2

echo "We're about to compare these files:
${RECEIVED_FILE_PATH}
${APPROVED_FILE_PATH}"

This will make the change easy for #172