explaingit

auchenberg/volkswagen

Analysis updated 2026-06-24

15,417JavaScriptAudience · developerComplexity · 1/5LicenseSetup · easy

TLDR

Satirical npm package that detects when tests run on CI and silently makes them pass. A joke commentary on gaming automated checks, named after the emissions scandal.

Mindmap

mindmap
  root((volkswagen))
    Inputs
      Test runner
      CI env vars
      Failing assertions
    Outputs
      Suppressed failures
      Green builds
      Joke badge
    Use Cases
      Joke commit
      Satire demo
      April Fools prank
    Tech Stack
      JavaScript
      Node
      npm
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add a joke dependency to a personal project as April Fools commentary

USE CASE 2

Demonstrate to a team how easy it is to silently game CI test results

USE CASE 3

Read the source to learn how to detect common CI environments from Node

What is it built with?

JavaScriptNodenpm

How does it compare?

auchenberg/volkswagennswbmw/n-blogsimulatedgreg/electron-vue
Stars15,41715,41715,406
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasymoderatemoderate
Complexity1/52/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose including commercial use, as long as you keep the copyright notice.

In plain English

Volkswagen is a satirical JavaScript package that makes your automated tests silently pass whenever they detect they are running on a CI server (a CI server, short for Continuous Integration server, is an automated system that runs tests on your code whenever you push changes, like Travis CI, CircleCI, or Jenkins). Named after the real Volkswagen emissions scandal in which cars used a "defeat device" to behave differently during official testing, this package works the same way: require it once in your test file, and it will detect the CI environment and suppress any test failures so the build always shows green. The project is openly framed as a joke and a commentary on the practice of gaming automated checks to show passing results without actually fixing problems. It supports detecting over a dozen well-known CI services by name, and also catches any environment that sets a standard CI environment variable. It can defeat failures from popular testing tools including assert, tap, tape, and chai, as well as any test that signals failure through an exit code. The package is installed via npm with a single command. It is MIT licensed and was inspired by a similar PHP package. The README suggests adding an "always passing" build badge to your project, the badge itself is, of course, a joke.

Copy-paste prompts

Prompt 1
Show me the volkswagen package source and explain how it detects CI environments
Prompt 2
Write a similar joke package in Python that suppresses pytest failures on CI
Prompt 3
List every CI environment variable volkswagen checks for and group them by provider
Prompt 4
Use volkswagen as a teaching example for a talk about test integrity

Frequently asked questions

What is volkswagen?

Satirical npm package that detects when tests run on CI and silently makes them pass. A joke commentary on gaming automated checks, named after the emissions scandal.

What language is volkswagen written in?

Mainly JavaScript. The stack also includes JavaScript, Node, npm.

What license does volkswagen use?

Use freely for any purpose including commercial use, as long as you keep the copyright notice.

How hard is volkswagen to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is volkswagen for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.