auchenberg /volkswagen
:see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.
★ 15,467⑂ 240👁 95⑃ 75● 36▤ 0
+0
Daily
15,467
stars
240
forks
95
watchers
75
prs
36
issues
0
releases
README
volkswagen
Volkswagen detects when your tests are being run in a CI server, and
makes them pass.
!
Why?
If you want your software to be adopted by Americans, good tests scores
from the CI server are very important. Volkswagen uses a defeat device to
detect when it's being tested in a CI server and will automatically
reduce errors to an acceptable level for the tests to pass. This will
allow you to spend _less_ time worrying about testing and _more_ time
enjoying the good life as a trustful software developer.
You can start already by adding our evergreen build badge to your
README:
Markdown snippet:
md
Installation
npm install volkswagen
Usage
Just require volkswagen somewhere in your code-base - maybe in your main
test file:
js
require('volkswagen')
Project status
CI servers detected:
- Travis CI
- CircleCI
- Jenkins CI
- Hudson
- Bamboo
- TeamCity
- Team Foundation Server
- Visual Studio Online CI
- GitLab CI
- Codeship
- Drone.io
- Magnum CI
- Semaphore CI
- AppVeyor
- Buildkite
- TaskCluster
- GoCD
- Bitbucket Pipelines
- \+ all other CI servers that exposes a CI or CONTINUOUS_INTEGRATION
environment variable
Test suites defeated:
- assert
- tap
- tape
- chai
- \+ any test actually that set the exit code or throw an error
License
MIT
Credits
Heavily inspired by https://github.com/hmlb/phpunit-vwTop issues
#5Serious report40 comments · 2015-10-08#90Prefer using 'noop' library11 comments · 2018-09-25#10Detect if tests are running on test engineer's machine.7 comments · 2015-10-08#19Generate missing tests (and make them pass of course)6 comments · 2015-10-09#102More features needed!3 comments · 2021-08-14#32Going viral?3 comments · 2016-02-05#113MAJOR release1 comments · 2025-04-02#98volkswargen typo2 comments · 2020-01-24