Giter Club home page Giter Club logo

Comments (1)

mefellows avatar mefellows commented on June 29, 2024

Sorry @Romanchuk, I somehow missed this issue.

And it looks for me like i did with only Cypress the same that would Pact do for me. So it looks like using Pact is overhead, because one tool is enough. I might misunderstand the whole idea. Please tell me what do u think?

No, Cypress does not do contract testing. Using Pact, you can verify that the mocks you use in Cypress are actually true representations of the real provider.

In many cases, this removes the need to do step (2) where you have to do end-to-end integrated tests against a real provider (that gets complicated and painful as you move more quickly, have more people and have more systems).

You may want to see more about pact here: https://www.youtube.com/playlist?list=PLwy9Bnco-IpfZ72VQ7hce8GicVZs7nm0i and docs.pact.io.

See also https://pactflow.io/blog/cypress-pact-front-end-testing-with-confidence/

from example-consumer-cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.