Join Nostr
2023-02-28 17:23:42 UTC
in reply to

lechiffre on Nostr: > As a solo developer you will seldom need more than unit tests unless you have a ...

> As a solo developer you will seldom need more than unit tests unless you have a customer who is familiar with API testing tools like Cucumber.

I find this surprising -- but I am not an industry veteran. I make extensive use of integration tests for my consumer facing webapp SaaS:

My integration test framework spins up the API and a blank database (actually, one set for each test!), and then systematically tests the system from the perspective of an API consumer (i.e., the frontend; but its tests are elsewhere).

It has been essential to make sure the API interface does what I believe it does.