upvote
Or, less securely, hash the tests and check the hash with a hook, post tool use. Or a commit hook.
reply