23 comments

[ 3.1 ms ] story [ 50.1 ms ] thread
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

(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)

The repository actually links to phpunit-vw at the bottom under the credits section.

> Heavily inspired by https://github.com/hmlb/phpunit-vw

He 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.
The 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.

Yes, 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.

Works on Codeship as well. The process.env.CI is set to true there as well.
(comment deleted)
this is the ultimate HN troll. Luv it.
(comment deleted)
I suppose this would be fair use of the Volkswagen trademark for parody, were it not for the fact that the VW brand is so well known that that would outweigh the parody exemption?

(I'm not a lawyer, but I need to protect some IP rights regularly, so trademark law interest me.)

Parody is free speech stuff. Trademark is different. It is mostly about avoiding confusion. No one is gonna confuse that this product is developed by Volkswagen.

IANAL. someone correct me if I am wrong.

Hi, I'm the dev. I've been thinking about it. I would consider it a success if we got a call from Volkswagen, so I'm willing to take that risk. That being said, I think they are way to busy at the moment ;)