You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like the file controller, I don't want all this code in the controllers that isn't tested, or testable if I decide not to test it now but require tests later when it inevitably breaks.
At the very least, even if you don't write tests for it, pull the code out and make it testable. Then, anytime in the future there's a bug, write a test for it. Bad test procedure but at least the code will be testable.
The text was updated successfully, but these errors were encountered:
Just like the file controller, I don't want all this code in the controllers that isn't tested, or testable if I decide not to test it now but require tests later when it inevitably breaks.
At the very least, even if you don't write tests for it, pull the code out and make it testable. Then, anytime in the future there's a bug, write a test for it. Bad test procedure but at least the code will be testable.
The text was updated successfully, but these errors were encountered: