When edge cases poke holes in your perfect solution
You found the perfect solution to your crazy testing problem. All you have to do is override DEFAULT_HOST
, and you’ll be in business. Except that you have to turn off warnings. And you have to figure out that one test where you don’t want to override the host. And then… Except…
And a few days later, when you get stuck for the twenty-seventh time and your app has become one giant ball of hacks, you’ll sit back and wonder: Why am I doing all this? Isn’t the solution worse than the problem?
Post a comment