You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contract creation can be a tedious task. Without going too much into the advantages of Pact, we see a way to integrate this new feature into the way we work with the Modernweb Test Runner.
Creating mocks for the test runner's mock service is very similar to creating a contract. We would go so far as to say that creating a mock is directly related to creating a contract that can be used in Consumer Driven Contract testing. Therefore, if it were possible to integrate PactJS into the Mock Server, you as a Test Runner user would not have to do too much to start using it.
So our suggestion is to integrate the adapter into the mock package. Before we go any further, and before we create a PR, we would like to hear your opinion on this proposal, and are looking forward to any other suggestions etc.
The text was updated successfully, but these errors were encountered:
We would like to add an extra feature to the Test Runner: consumer driven contract testing/creation using PactJS. To learn more about contract testing, please visit https://pactflow.io/what-is-consumer-driven-contract-testing/.
Contract creation can be a tedious task. Without going too much into the advantages of Pact, we see a way to integrate this new feature into the way we work with the Modernweb Test Runner.
Creating mocks for the test runner's mock service is very similar to creating a contract. We would go so far as to say that creating a mock is directly related to creating a contract that can be used in Consumer Driven Contract testing. Therefore, if it were possible to integrate PactJS into the Mock Server, you as a Test Runner user would not have to do too much to start using it.
Currently, the Mock package from Modern Web uses MSW. Fortunately, PactFlow, which implements PacJS, has created an adapter for MSW, see https://github.com/pactflow/pact-msw-adapter.
So our suggestion is to integrate the adapter into the mock package. Before we go any further, and before we create a PR, we would like to hear your opinion on this proposal, and are looking forward to any other suggestions etc.
The text was updated successfully, but these errors were encountered: