{ "info": { "author": "Hari Jiang", "author_email": "hari.jiang@outlook.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "ZEROTEST |PyPI| |Travis|\n========================\n\nZerotest makes it easy to test API server, start a micro proxy, send\nrequests, and generate test code by these behaviours.\n\nInstall\n-------\n\nStable version: ``pip install zerotest``\n\nDevelop version:\n``pip install git+https://github.com/jjyr/zerotest.git``\n\n**zerotest require python2.7 or 3.3+**\n\nQuick Start\n-----------\n\n1. Start a local proxy to capture http traffic\n ``zerotest server https://api.github.com -f octocat.data``\n\n2. Make few requests ``curl -i http://localhost:7000/users/octocat``\n\n3. Press ``C-c`` to exit local proxy\n\n4. Generate test code\n ``zerotest generate octocat.data --ignore-all-headers > test_octocat.py``\n\n5. Type ``py.test test_octocat.py`` to run test\n\nUsage\n-----\n\nType ``zerotest -h`` to see help message\n\nServer\n~~~~~~\n\nStart local proxy server\n\n``zerotest server http://target-endpoint.com [-f] [record_file.data]``\n\nType ``zerotest server -h`` to see help message\n\nGenerate\n~~~~~~~~\n\nGenerate python test code from record data (the file generated by local\nproxy)\n\n``zerotest generate [options] > test_file.py``\n\nIgnore specific headers in comparison\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nUse option ``--ignore-headers [date server ...]`` or\n``--ignore-all-headers`` to ignore headers comparison\n\nIgnore specific fields\n^^^^^^^^^^^^^^^^^^^^^^\n\nUse ``--fuzzy-match`` enable fuzzy matching mode, compare data schema\ninstead the data itself, or you can use\n``--ignore-fields [view_count ...]`` to specific ignored fields\n\nType ``zerotest generate -h`` to see help message\n\nReplay\n~~~~~~\n\nGenerate test and run it with ``pytest``\n\n``zerotest replay [generate options] [--pytest] [pytest options]``\n\nType ``zerotest replay -h`` to see help message\n\nDevelop\n-------\n\nExport debug flag ``ZEROTEST_DEBUG=true`` to see verbose logs during\nprogram or test running.\n\nContributors\n------------\n\n`Contributors `__\n\nContribute\n----------\n\n- Open issue if found bugs or some cool ideas\n- Feel free to ask if have any questions\n- Testing is very important for a test tool, commit your test file\n together with pull request\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/zerotest.svg\n :target: https://pypi.python.org/pypi/zerotest\n.. |Travis| image:: https://img.shields.io/travis/jjyr/zerotest.svg\n :target: https://travis-ci.org/jjyr/zerotest", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jjyr/zerotest", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "zerotest", "package_url": "https://pypi.org/project/zerotest/", "platform": "unix,linux,osx", "project_url": "https://pypi.org/project/zerotest/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jjyr/zerotest" }, "release_url": "https://pypi.org/project/zerotest/1.2.1/", "requires_dist": null, "requires_python": null, "summary": "Lazy guy's testing tool. Capture HTTP traffic and generate python integration test for your API server.", "version": "1.2.1" }, "last_serial": 1852459, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "4c4246fb0e65f2165aa43ada98968fde", "sha256": "febc82e3d28be68fc8e59ee4f8c3304048e7ce9cfcfa761c3aa3abffaabfa15f" }, "downloads": -1, "filename": "zerotest-0.0.0.tar.gz", "has_sig": false, "md5_digest": "4c4246fb0e65f2165aa43ada98968fde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4040, "upload_time": "2015-11-07T15:18:58", "url": "https://files.pythonhosted.org/packages/63/79/1b9b7ea80804a6523a3f299f805aae0b2c58cc9b511577cb6d5c74127e57/zerotest-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "4a2ee5a44d8212e41cc1f131e7b3d8b8", "sha256": "a75f3460aa18c00b0ac63a1385b5f0a9f8195d58996488a13ce363851fb2ce93" }, "downloads": -1, "filename": "zerotest-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4a2ee5a44d8212e41cc1f131e7b3d8b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5884, "upload_time": "2015-11-11T13:07:30", "url": "https://files.pythonhosted.org/packages/3c/b0/918953627457a1961984646139ca49484125c9f34ec025d315ddaff13a10/zerotest-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "89b4ad4e51bd73ab038dcfabba3d071c", "sha256": "7cec2fae555f689189c068105306338a313e29a2c3a779043f10e58e4549fdef" }, "downloads": -1, "filename": "zerotest-0.0.2.tar.gz", "has_sig": false, "md5_digest": "89b4ad4e51bd73ab038dcfabba3d071c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9393, "upload_time": "2015-11-14T10:36:09", "url": "https://files.pythonhosted.org/packages/8e/36/c9c21a0e9d590c85ddd6fc9734b5abe47c8764b2efdd513972419dd11334/zerotest-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "cbcde6ac53e8ded7b0fbd84e65ea0c5b", "sha256": "c032e5dd49afe7797ab68c210c1e337db8c255b8dbb32daa81d62aa3dc219a51" }, "downloads": -1, "filename": "zerotest-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cbcde6ac53e8ded7b0fbd84e65ea0c5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25523, "upload_time": "2015-11-15T12:18:53", "url": "https://files.pythonhosted.org/packages/25/89/e9bc21bb9adbfb7da08036188f33a7d1370fefb013200403477c3f5fe9fe/zerotest-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "9ef0cbab95b5ad6a095d867c8bbf5da3", "sha256": "f5327686f042cfa2351c478c2eed06d24fc20a9a9dba64412538fcbe5db1969c" }, "downloads": -1, "filename": "zerotest-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9ef0cbab95b5ad6a095d867c8bbf5da3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25563, "upload_time": "2015-11-16T12:25:35", "url": "https://files.pythonhosted.org/packages/44/25/9c0541f3c3d7261b315cbab788a97dfbccaf2930ebbd9032359f657b1555/zerotest-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "33467d68bfdcbaaa0ce74b686ac11d24", "sha256": "7f26abd7e865e946724b84ad79be4427d5cad8719fc06a8056f78372823e00ed" }, "downloads": -1, "filename": "zerotest-1.0.1.tar.gz", "has_sig": false, "md5_digest": "33467d68bfdcbaaa0ce74b686ac11d24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25807, "upload_time": "2015-11-18T02:54:26", "url": "https://files.pythonhosted.org/packages/9b/de/0149305987f3e3124f40df661beedd20816e6fc9f12a62f4c891c9f2f427/zerotest-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "59516c8fbd539489c45606e76c0305a4", "sha256": "efec0b25fe22e371b59285edb0ace938a6b186ea91d51be680f576a3308c3983" }, "downloads": -1, "filename": "zerotest-1.0.2.tar.gz", "has_sig": false, "md5_digest": "59516c8fbd539489c45606e76c0305a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26177, "upload_time": "2015-11-18T04:10:25", "url": "https://files.pythonhosted.org/packages/70/48/1e33af044b3c04e1b2fd87d56b85a8ed24e20b3daae2d00060ef1073a630/zerotest-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "626910db1b92c7fa6bdc7180e96e98be", "sha256": "b4924677122c005ed885f3bd94c652565c424c5ced4f849b430dd0f97fdff29c" }, "downloads": -1, "filename": "zerotest-1.1.0.tar.gz", "has_sig": false, "md5_digest": "626910db1b92c7fa6bdc7180e96e98be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16679, "upload_time": "2015-11-21T15:05:16", "url": "https://files.pythonhosted.org/packages/07/7f/aba5ee2ee4f5d44c656ad9b10a2c8fd3a119ef2c995706b64a3041a8c1ba/zerotest-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "29b8537d43979081762cd91ce5233f57", "sha256": "de618c953255940f2b66b22d1ecdc2db2e39ab887f659cf489641ef05c129832" }, "downloads": -1, "filename": "zerotest-1.1.1.tar.gz", "has_sig": false, "md5_digest": "29b8537d43979081762cd91ce5233f57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16688, "upload_time": "2015-11-21T15:08:53", "url": "https://files.pythonhosted.org/packages/47/a6/c10a7df6cb17ba06c4e363886f033638e6d2d400c16131ac9e3bd6c15cc3/zerotest-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "f9f0cabe907ccb2313b1f86ed10fcc3f", "sha256": "1d63838c6ae4225e7e482a62a1be85e0a3a32fc807524b60334d81161ca51466" }, "downloads": -1, "filename": "zerotest-1.1.2.tar.gz", "has_sig": false, "md5_digest": "f9f0cabe907ccb2313b1f86ed10fcc3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32385, "upload_time": "2015-11-21T15:22:55", "url": "https://files.pythonhosted.org/packages/c6/e7/a1f45ccc9a9a66fd81256e37bfacd6aa2a23bf35b05f53eded7934883aa6/zerotest-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "6b53deddf2f3f9482ffc731a91d97224", "sha256": "0a71d8d6e6ab6db46311058b0dda45d93ce6b8bc418b12dbab62f98edf95f02c" }, "downloads": -1, "filename": "zerotest-1.2.0.tar.gz", "has_sig": false, "md5_digest": "6b53deddf2f3f9482ffc731a91d97224", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33856, "upload_time": "2015-12-06T14:08:07", "url": "https://files.pythonhosted.org/packages/3f/3e/22c7a1ca6a571f9185f1f93a0301ec45e11c6e6d0abf7e0e2e0470611967/zerotest-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "56b56c6bb1d162178c0f8dc728a2cddd", "sha256": "1410eff814fa07d050460d319b1fe4b1eb050f98c0b46dcedb54e141fd0f6b08" }, "downloads": -1, "filename": "zerotest-1.2.1.tar.gz", "has_sig": false, "md5_digest": "56b56c6bb1d162178c0f8dc728a2cddd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17475, "upload_time": "2015-12-08T17:02:05", "url": "https://files.pythonhosted.org/packages/eb/23/751926d23891eb0c08cfd1936c8809764553c064128c8387fd665845dad4/zerotest-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "56b56c6bb1d162178c0f8dc728a2cddd", "sha256": "1410eff814fa07d050460d319b1fe4b1eb050f98c0b46dcedb54e141fd0f6b08" }, "downloads": -1, "filename": "zerotest-1.2.1.tar.gz", "has_sig": false, "md5_digest": "56b56c6bb1d162178c0f8dc728a2cddd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17475, "upload_time": "2015-12-08T17:02:05", "url": "https://files.pythonhosted.org/packages/eb/23/751926d23891eb0c08cfd1936c8809764553c064128c8387fd665845dad4/zerotest-1.2.1.tar.gz" } ] }