GithubHelp home page GithubHelp logo

Comments (1)

kevinmstephens avatar kevinmstephens commented on June 18, 2024

@ianwsperber The request to match by URL is pretty straightforward to implement. And I think the use-case that supports is:

  • I have a server that makes calls A, B, C. The order of B, C calls is non-deterministic.
  • I want to run save to capture mocks to disk. I want to run load to restore mocks from disk.
  • I don't want my tests to fail if the order of B and C tests fail

However using the matching...respond feature one could inline the mocks for B and C. They wouldn't get the benefit of easily saving and loading B and C calls but that would work too.

Any thoughts on if matching...respond will meet the need or is the use case more along the lines of save...load mocks?

from yesno.

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.