Lazy guy's testing tool, test your API server like a boss.
Project description
Zerotest makes it easy to test API server, start a micro proxy, send requests, and generate test code by these behaviours.
Zerotest makes test api server like a boss!
Install
Stable version: pip install zerotest
Develop version: pip install git+https://github.com/jjyr/zerotest.git
zerotest require python2.7 or 3.2+
Usage
Start a local proxy to capture http traffic zerotest server https://api.github.com -f octocat.data
Make few requests curl -i http://localhost:7000/users/octocat
Press C-c to exit local proxy
Generate test code zerotest generate octocat.data --ignore-all-headers > test_octocat.py
Type py.test test_octocat.py to run test
Develop
Export debug flag environment ZEROTEST_DEBUG=true to see verbose logs during program or test running.
Contributors
Contribute
Open issue if found bugs or some cool ideas
Feel free to ask if have any questions
Testing is very important for a test tool, commit your test file together with pull request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.