GeistHaus
log in · sign up

Flow Your Tests Like Your Code

blog.nono.io

My co-worker Belinda Liu turned to me and said, “I don’t like these tests at all; they’re hard to follow, and I’m not sure what they’re testing.” I looked at the tests that I had spent much of yesterday afternoon working on. She was right: they were hard to follow (even for me, who had written some of them!). How had we gotten here? Our code was straightforward, but our tests were byzantine (excessively complicated). We identified two problems:

0 pages link to this URL

No pages have linked to this URL yet.