3 ms·
The joke was done a few days ago (I have no idea if this was the first either but its the first I saw) https://github.com/hmlb/phpunit-vw https://github.com/hm
by mikeryan 11y ago
The joke was done a few days ago (I have no idea if this was the first either but its the first I saw)
https://github.com/hmlb/phpunit-vw 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)
- drew-y 11y agoThe repository actually links to phpunit-vw at the bottom under the credits section. > Heavily inspired by https://github.com/hmlb/phpunit-vw https://github.com/hmlb/phpunit-vw
- pyman 11y agoHe only changed the title. Same concept, joke and code as the original (js, php, same thing). In my book it's a complete rip-off.
- semi-extrinsic 11y agoThe Node.js addon linked in this story ("volkswagen") credits the PHP addon which you link to ("phpunit-vw") as their inspiration. 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.
- scott_karana 11y agoYes, it's appropriate because the title of one submission sucked, and caused it to not succeed. ;) > 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.