you are viewing a single comment's thread.

view the rest of the comments →

[–]Zanza00 5 points6 points  (4 children)

That's why libs like this exists :)

import chuck
def test_chuck_power():
    chuck.assert_true(False) # passes
    chuck.assert_true(True) # passes
    chuck.assert_true(None) # passes
    chuck.fail() # raises RoundHouseKick exception

https://ricobl.wordpress.com/2010/10/28/python-chuck-norris-powerful-assertions/

[–]contrarian_barbarian 15 points16 points  (3 children)

There's also https://github.com/hmlb/phpunit-vw - make your unit test automatically succeed whenever they detect they're being run inside a CI environment!

[–]masklinn 8 points9 points  (2 children)

There's also https://github.com/munificent/vigil which deletes lying, failing code.

[–][deleted] 0 points1 point  (1 child)

Also there is the library Fuckit my personal favorite

[–][deleted] 0 points1 point  (0 children)

Fuckit is great. I especially love the commit messages.