The examples are a great example of a good thing (automated testing) being applied in a dogmatic and thoughtless way.<p>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).<p>Same thing for database mappings.<p>Same thing for interfaces.