Volkswagen Detects CI Server Tests and Ensures They Pass (2015)

birdculture2 pts0 comments

GitHub - auchenberg/volkswagen: :see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

auchenberg

volkswagen

Public

Notifications<br>You must be signed in to change notification settings

Fork<br>241

Star<br>15.4k

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>106 Commits<br>106 Commits

.these/aren't/the/source/files/you're/looking

.these/aren't/the/source/files/you're/looking

test

test

.gitignore

.gitignore

.travis.yml

.travis.yml

LICENSE

LICENSE

README.md

README.md

package.json

package.json

View all files

Repository files navigation

volkswagen

Volkswagen detects when your tests are being run in a CI server, and<br>makes them pass.

Why?

If you want your software to be adopted by Americans, good tests scores<br>from the CI server are very important. Volkswagen uses a defeat device to<br>detect when it's being tested in a CI server and will automatically<br>reduce errors to an acceptable level for the tests to pass. This will<br>allow you to spend less time worrying about testing and more time<br>enjoying the good life as a trustful software developer.

You can start already by adding our evergreen build badge to your<br>README:

Markdown snippet:

[![volkswagen status](https://auchenberg.github.io/volkswagen/volkswagen_ci.svg?v=1)](https://github.com/auchenberg/volkswagen)

Installation

npm install volkswagen

Usage

Just require volkswagen somewhere in your code-base - maybe in your main<br>test file:

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<br>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-vw

About

🙈 Volkswagen detects when your tests are being run in a CI server, and makes them pass.

Topics

nodejs

ci-server

continuous-integration

cheat

defeat

javascipt

volkswagen

Resources

Readme

License

MIT license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

15.4k<br>stars

Watchers

95<br>watching

Forks

241<br>forks

Report repository

Releases

15<br>tags

Packages

Uh oh!

There was an error while loading. Please reload this page.

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

JavaScript<br>100.0%

You can’t perform that action at this time.

volkswagen server reload tests pass github

Related Articles