ksf-media / haskell-vcr Goto Github PK
View Code? Open in Web Editor NEW๐ผ Haskell library for saving network interactions into YAML/JSON files in VCR format
License: BSD 3-Clause "New" or "Revised" License
๐ผ Haskell library for saving network interactions into YAML/JSON files in VCR format
License: BSD 3-Clause "New" or "Revised" License
As more functionality and integrations are added the dependency footprint and scope of library grows. Originally Data.Vcr
module was supposed to only contain data definitions, json encode/decoder and some helpers. But now it also integrates with http-client
. My plan is to rename this repo to haskell-vcr
and split the big module into several modules/libraries with different dependencies. The Data.Vcr
will remain the core module containing data definitions, while the integrations would go to their own modules:
data-vcr
: Data.Vcr
http-client-vcr
: Network.HTTP.Client.Vcr
tasty-vcr
: Tasty.Vcr
req-vcr
: Network.HTTP.Req.Vcr
This is pretty urgent, as right now we have to have them as git dependencies in stack.yaml
in every project.
Currently, as soon as withCassette
finishes it dumps the accumulated cassettes to it's FilePath
. This of course means that if several threads are recording to cassette which should be on the same path they'll overwrite each other. This is a common scenario as tests are often run in parallel.
Most request/response conversions are now implemented. Converting to Http.Request
is only needed for replays and I haven't implemented it yet.
A tasty ingredient that allows to configure VCR with command line options would have been lovely to have.
Given http-reverse-proxy it should be relatively easy to make a VCR-on-the-wire thing.
For the mainstream discussion see vcr/vcr#187
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.