- cross-posted to:
- hackernews@lemmy.smeargle.fans
- cross-posted to:
- hackernews@lemmy.smeargle.fans
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:
lmao
It’s a common practice to have GitHubs severs run all your software tests every time you push changes, and if they pass, you get a little badge on the top of your readme. It’s called CI for continuous integration because it replaces the step where everyone integrates their code together and see if everything still works.
This “volkswagen” software package defeats CI testing by chang the way tests are run only if they are being run on GitHubs servers. Much like how volkswagen cars used to change the way their engines run when they detected that they were being checked for emissions.
Thanks.