DEV Community

Discussion on: Everything That's Not Tested Will Break

Collapse
 
alainvanhout profile image
Alain Van Hout

I think API tests might also deserve a place on that list. I count those as separate from (typical) integration tests because API tests can (i.e. its possible to) be executed against a regular running version of your (web) application, while integration testing generally involves setup and bootstrapping, and tends to be quite resource intensive.

Collapse
 
stealthmusic profile image
Jan Wedel

Yep, as stated it’s not a comprehensive list. Personally, we use integration for the APIs as well. In fact we implement them test-driven as well and we use Spring REST Docs to create API documentation from our tests.