garybernhardt / python-mock-comparison Goto Github PK
View Code? Open in Web Editor NEWA comparison of Python's mocking and other test double libraries
A comparison of Python's mocking and other test double libraries
It should compare the flavor of the libraries. It doesn't necessarily have to show them doing exactly the same thing. It should fit on one screen, where "screen" is defined as a 15" MacBook Pro.
They're currently commented out.
http://garybernhardt.github.com/python-mock-comparison/ returns a 404
Hey Gary,
github has the wrong ssh keys for me so this was easier than a pull request, sorry.
Patch here: https://gist.github.com/856510
As well as correcting a mock example it removes the broken links from index.rst. I also had to add the current directory to sys.path in conf.py in order to be able to execute the doctests on my system.
E.g., maybe I only want to compare Mock and Fudge.
Maintaining this documentation as a doctest hasn't turned out very well. Some examples aren't illustrative because they don't represent realistic use cases. Everything is fragile because it's all mixed into one environment.
Instead, let's turn them all into standard unittest classes. We'll need to parse the test files to generate the documentation. Comment markers in the test files are probably easier than trying to parse the test methods out directly.
I'd love to see Ludibrio in the comparisson too.
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.