Redis Stubbing with Specmatic Contract Testing
Instead of using an actual instance of Redis, weโll stub it out and have the contract test set expectations so that the Redis stub knows what data to return for any query sent to it by the application. Now, when we run the contract tests and the service object does a look up in Redis, itโs actually hitting the Redis stub.
Redis Stubbing with Specmatic Contract Testing Read More ยป