195 points · by auchenberg · 11y ago · 20 comments
https://github.com/hmlb/phpunit-vw
(To those that don't get the joke, Volkswagon just got popped for cheating their emissions tests by detecting when they were in a test vs real world environment)
It seems somehow very appropriate that the Node.js version is the one that gets to the frontpage of HN even though the original idea was a PHP thing. Edit: and the PHP one was posted to HN yesterday, getting much less attention.
> PHPUnit VW extension
> Volkswagen – detects when your tests are being run in CI, and makes them pass
Tellingly, "Node" and "NPM" aren't in the title or URL. So much for bias.
> Heavily inspired by https://github.com/hmlb/phpunit-vw
(I'm not a lawyer, but I need to protect some IP rights regularly, so trademark law interest me.)
IANAL. someone correct me if I am wrong.
EDIT: I get the joke now. Thanks to everyone who replied.