Coders: Write Readable Tests!
When you’ve been coding as long as I have you see a lot of terrible code. The rule that so many coders completely forget? Make your code readable! And for some reason the last place coders tend to put in effort into readability is in their tests.
I’ve wasted many a day trawling through hopelessly unreadable, unstable tests only to find that the test broke because of a typo
Why are readable tests important?
If an app has tests (which it almost always should), they can be a huge insight into the behaviour of your application. Particularly in cases of complex logic or obscure requirements....
Congratulations! You've read the first 25% of this article. Continuing reading on the amazing Runtime.