by scapegoat2 · 4y ago · 0 comments
I really wish their was a way to make integration tests run quickly.
Don't get me wrong, unit tests are still useful. But someone needs to have the big picture in mind, and say "what happens if a human does this?" and consider all of the disparate component that may be involved in that action.
As a concrete example, don't rely on API requests to say that your microservice is fine. Boot up a full browser with Selenium to act as an actual user and start poking around the frontend. You'll probably say "oh right, I should fix that" at least a few times.