Start with an operation inventory
List each origin API operation the application calls, including request options that affect behavior. Include background jobs, administrative tools and infrastructure automation, not only the main request path. For each operation, record:- the expected success response;
- the target resource or state change;
- relevant naming, pagination, ordering and consistency behavior;
- authorization failures and invalid-input errors;
- retry and idempotency expectations;
- tuning directives the request or resource uses.
Test in layers
Use High Fidelity Cloud Emulators for fast local feedback. Keep a bounded target-cloud test for behavior that depends on the managed service or its environment.
Build a bounded lifecycle test
- Create uniquely named test resources using dedicated credentials.
- Read the resource through the origin API and compare important fields with target state.
- Update the fields and tags your application uses, then read them again.
- Exercise listing, filtering or pagination when the application depends on them.
- Delete the resource and verify both the origin-facing response and target state.
- Clean up only resources created by the test.