Q: 17
A set of tests must be performed prior to deploying API implementations to a staging environment.
Due to data security and access restrictions, untested APIs cannot be granted access to the backend
systems, so instead mocked data must be used for these tests. The amount of available mocked data
and its contents is sufficient to entirely test the API implementations with no active connections to
the backend systems. What type of tests should be used to incorporate this mocked data?
Options
Discussion
Guessing D here. Mocking out the backend and testing API logic sounds like unit testing, since no real integration happens. I’m a little unsure since functional tests sometimes use mocks too but I think only unit tests are totally isolated like this. Anyone see it differently?
Be respectful. No spam.
Question 17 of 25