Unit testing
When performing unit tests on services that depend on other external services,
I think that those are integration tests. IMO unit tests have any external dependencies stubbed.
Consumer-Driven Contracts Git Flow
The gif is awesome :D It could be a little bit slower though I guess.
Remember that the purpose of contract testing is not to start writing business features in the contracts. Stay focused and limit yourself to testing contracts between applications and avoid full behaviour simulation.
As a consumer, the goal is to perform tests against the defined contract. In order to be able to perform those tests, a WireMock stub is also generated.
If this is an introductory blog post then I guess you should describe what WireMock is and point to their docs.
I think that those are integration tests. IMO unit tests have any external dependencies stubbed.
The gif is awesome :D It could be a little bit slower though I guess.
š š š š š
Instead of this ^^ you can write
Instead of this ^^ you can write
If this is an introductory blog post then I guess you should describe what WireMock is and point to their docs.
Have you explained what this
workOffline
flag is and why it shouldn't be there once everything gets merged?Other than these small remarks the blog post is really nice - thanks for writing it :)
And as usual feedback on the tool is more than welcome :D