kevin1024/vcrpy
View on GitHub ↗ ★ 3,023 Python
Automatically mock your HTTP interactions to simplify and speed up testing
7 mentions on Hacker News by 6 people: 3 stories, 4 comments · first 2012-11-10 · latest 2025-11-18
20082026
-
You can automate it with the right libraries, such as https://github.com/kevin1024/vcrpy This one runs the real request and saves the response, faking it later by returning what it saved instead of making the request again.
comment by Izkata · 2025-11-18 · in An overly aggressive mock can work fine, but break much later -
Cool work, thanks. A bit like https://github.com/kevin1024/vcrpy in python, if you weren't aware OP.
comment by scientism · 2025-11-11 · in Show HN: Tusk Drift – Open-source tool for automating API tests -
VCR.py ( https://github.com/kevin1024/vcrpy ) is a great utility for mocking APIs. It will run each request once, save the responses to YAML files, and then replay the responses every time you re-run the tests. It's also very useful for…
comment by tmarice · 2021-03-24 · in My Python testing style guide (2017) -
…grow my own Webmock - maybe I can integrate HTTPretty instead so we don't duplicate effort. [1]: http://www.github.com/kevin1024/vcrpy/
comment by kevin1024 · 2012-11-10 · in Show HN: HTTPretty, an easy way to mock http requests in python