An automatic hook, in VersionControlSystems? such as git, that runs a script before the code is committed. Could, potentially, be a way to enforce that the tests get run or that CodingStandards? are used.