DEV Community

Kodengo
Kodengo

Posted on

Clean code gamified

  1. invert a random if statement
  2. run the unit tests
  3. if the tests pass, drink

Top comments (5)

Collapse
 
cjbrooks12 profile image
Casey Brooks

I'm dying! 😂

Collapse
 
cjbrooks12 profile image
Casey Brooks

There's a Java version of this too, Pitest

Collapse
 
kayis profile image
K

For JS too: Stryker

Collapse
 
kodengo_com profile image
Kodengo

Does it drink?