I have to constantly remind myself: if the unit tests are hard to write, consider whether the code needs to be refactored.

(Adding another 12 mocks doesn't scale).

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!