There's something truly underrated about the API first development model. You immediately gain access to programmable building blocks which can be leveraged to build everything else.
@asim And that's just the frontend. For backend business logic most of our tests are defined in terms of the API
@asim And of course mocking is easier because you're simulating an API endpoint - no more banana-monkey-jungle mocking madness! https://thesharp.ninja/banana-monkey-jungle-problem-a0f4ed46e9aa
@rjrodger quite interesting. For us with M3O.com we actually do a combination of functional and integration testing where examples are run periodically as an end to end test in production... per API!
@rjrodger examples have this run_check field which defines whether they get executed or not https://github.com/micro/services/blob/master/address/config/examples.json#L5
Ask questions, share knowledge and stay in sync. M3O.org is a community for remote developers.