6 ms·
The examples are a great example of a good thing (automated testing) being applied in a dogmatic and thoughtless way. Write tests against sets of things. In th
by radicalbyte 11y ago
The examples are a great example of a good thing (automated testing) being applied in a dogmatic and thoughtless way.
Write tests against sets of things. In the controller example, you have a test which exerts all of your routes and tests that they return status code 200 given the standard input (in this case simply calling said route).
Same thing for database mappings.
Same thing for interfaces.