LobstersFriday · May 15, 2026FREE

Volkswagen- detects when your tests are being run in a CI server, and makes them pass (2015)

testingcisatirejavascript

Volkswagen, a JavaScript library published on GitHub in 2015 by developer Kenneth Auchenberg, detects when tests are executed in a CI server environment and forces them to pass. The library checks for common CI environment variables (e.g., CI, CONTINUOUS_INTEGRATION, TRAVIS, JENKINS) and, if present, overrides test frameworks like Mocha or Jasmine to report success without running actual assertions. The project was intended as a satire of the Volkswagen emissions scandal, where the automaker used software to cheat emissions tests. The library's README explicitly states it is a joke and should not be used in production. However, it serves as a cautionary example of how easy it is to subvert test integrity, with potential consequences including undetected bugs, false confidence in code quality, and broken deployments. The repository remains available on GitHub as a historical artifact.

// why it matters

Highlights the risk of test integrity being compromised in CI environments.

Sources

Primary · Lobsters
▸ Read original at github.com