Coder Social home page Coder Social logo

The future of bypass about bypass HOT 10 CLOSED

pspdfkit-labs avatar pspdfkit-labs commented on May 22, 2024 15
The future of bypass

from bypass.

Comments (10)

lucacorti avatar lucacorti commented on May 22, 2024 1

TLS support with automatic SSL certificates setup.

I need this to test my HTTP/2 implementation and would be willing to contribute.

from bypass.

agramichael avatar agramichael commented on May 22, 2024 1

@ream88 any possibility of making it so that within one test I can stack two expect_once's so that the first call to the given route gets my first expect_once and the second call gets the second expect_once?
Currently the second expect_once would just redefine the first expect_once and I would get an error because the route is called twice.

from bypass.

mhsdef avatar mhsdef commented on May 22, 2024

Yay! Props to you and @MSch both. Thanks for your efforts.

from bypass.

chrismcg avatar chrismcg commented on May 22, 2024

Thanks for taking this on. I love bypass and it's great to see it getting updated.

from bypass.

ream88 avatar ream88 commented on May 22, 2024

@chrismcg just give me a few more days, I want to go through all issues in the backlog! 😊

from bypass.

chrismcg avatar chrismcg commented on May 22, 2024

@ream88 please don't take my comment as any kind of pressure to ship! I'm just happy to see a great lib get some love. I came here to see if there was a PR for the DynamicSupervisor deprecation warning so to see all the work that's been done in addition to that is great.

from bypass.

ream88 avatar ream88 commented on May 22, 2024

@agramichael Is #80 fixing this for you? Can you try out the master branch? 😊

from bypass.

agramichael avatar agramichael commented on May 22, 2024

@ream88 that fix has been very helpful! But it's not quite what I was thinking. That allows users to redefine what the response is for the route but still doesn't allow setting multiple responses for the same route, and consuming them in order.

from bypass.

mrdougwright avatar mrdougwright commented on May 22, 2024

@ream88 that fix has been very helpful! But it's not quite what I was thinking. That allows users to redefine what the response is for the route but still doesn't allow setting multiple responses for the same route, and consuming them in order.

I believe I'm having the exact same issue. We've added a Plug to our main controller that calls (and caches!) out to our graphql API. This now adds an extra call to all of our controller tests, which breaks their call expectations.

Since the route is the same, if we could set and check multiple responses for the same route, we could update our Bypass wrapper in one place.

from bypass.

ream88 avatar ream88 commented on May 22, 2024

@agramichael @mrdougwright I moved the conversation to a new issue: #95

from bypass.

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.