r/ProgrammerHumor • • Jul 20 '18

Every Time

Post image
52.2k Upvotes

749 comments sorted by

View all comments

Show parent comments

11

u/rangeDSP Jul 20 '18

If your testing can't catch errors like these it implies that at least one of the following is truel:

  1. The tests are badly written

  2. The code isn't easily testable

  3. if(2==true), then there are messy dependency issues in the code

2

u/motioncuty Jul 20 '18

Now I have to right tests for my jenkins builds!? When does it end?

4

u/rangeDSP Jul 20 '18

Not necessary to write a test, but builds should be part of your continuous integration process, after all the unit tests are run, and if build fails it just won't move from dev to UAT release.

If your builds aren't deterministic there's something wrong with the build tool, your configuration, or the build machine. That definitely needs to be fixed.

1

u/motioncuty Jul 20 '18

If your builds aren't deterministic

Lol. they always seem to fail when we reboot the servers.

→ More replies (5)