3 ms·
The thing about unit testing is that you have to decide what your "unit" is. It could be down to the function/method level, but that's not always appropriate. S
by Jtsummers 10y ago
The thing about unit testing is that you have to decide what your "unit" is. It could be down to the function/method level, but that's not always appropriate. Such a strict testing framework can leave you immobilized when you want or need to refactor.
Their HTTP API is their interface for the application. It makes a great deal of sense to focus on that level for their testing (note: they didn't say they didn't test internals, they said they focused on the external interfaces).