Apidays New York 2024 - The value of a flexible API Management solution for O...
One mock to far
1. A MOCK TOO FAR ...
milipski
michal-lipski
Pragmatists.pl
2. UNIT TEST
test of small fragment of code that
represents some functionality
Run in isolation from external dependencies
and other system functionalities
4. STUB
MOCK
For replacing a method with code
that returns a specified result.
For validating our expectation
about methods calls that object
should receive
5. STUB
For replacing a method with code
that returns a specified result.
STATE TESTING
MOCK
For validating our expectation
about methods calls that object
should receive
BEHAVIORAL TESTING