dimanche 6 août 2017

Is testing a backend api route considered unit testing?

For example, if you have a Node server using Express and you write a Jasmine test to make sure POST /someroute gives you the JSON you expect, is that still considered unit testing? I know it doesn't seem to fit the strict definition of the smallest testable part of an application. So if not, is there a certain term for this type of testing of routes?

Aucun commentaire:

Enregistrer un commentaire