DEV Community

Discussion on: Don't comment out your unit tests!

Collapse
 
bgadrian profile image
Adrian B.G.

Nice but I imagine that noone will grep search for these keywords, not in an env that allowed skip in the first place.

Collapse
 
thejessleigh profile image
jess unrein • Edited

When I was working on a monolithic Django application with literally upwards of 70 different test files, I definitely grepped for keywords I remembered from skipped tests to figure out where certain functionality lived. It's probably not going to be super useful for your three endpoint web app for you side project, but I've found explicit messages and keywords, in conjunction with descriptive naming conventions, very useful in overgrown projects.