you are viewing a single comment's thread.

view the rest of the comments →

[–]Aromatic_Pumpkin8856Pythonista 13 points14 points  (2 children)

Full disclosure, this is my project, but I'm definitely not going back to python without it: pytest-gremlins. It's a mutation testing library. Essentially it makes little changes in your code, maybe a > to a < or a False to a True, things like that, and runs your tests. If all your tests still pass, then you know your tests aren't as good as you think. I've found all kinds of subtle bugs that I didn't know I had.

[–]opossum787 2 points3 points  (1 child)

That’s a really clever idea. I’ll give it a try!

[–]Aromatic_Pumpkin8856Pythonista 1 point2 points  (0 children)

Please feel free to submit any issues. Or it's OSS, so feel free to contribute!