after the controllers and routers are uniformed and auto-generated, we can also start generating tests as well. something like this:
const { app, itBehavesLikeCRUDResource } = require('../helper');
describe("/users route", () {
itBehavesLikeCRUDResource(app);
});
eventually we could split those into specific concerns like, itListsThingsProperly, itCreatesNewRecordsCorrectly, etc.
after the controllers and routers are uniformed and auto-generated, we can also start generating tests as well. something like this:
eventually we could split those into specific concerns like,
itListsThingsProperly,itCreatesNewRecordsCorrectly, etc.