{ "info": { "author": "Eugene Eeo", "author_email": "packwolf58@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "requires\n========\n\n.. image:: https://travis-ci.org/eugene-eeo/requires.png?branch=master\n :target: https://travis-ci.org/eugene-eeo/requires\n\nAn assertion test generator for Python meant for use with nose.py or\nsomething that uses ``assert`` as a method for running tests. It uses\nfunction chaining to achieve very high readability and make BDD less\ntedious.\n\n.. code:: python\n\n from requires.expect import expect\n\n expect([]).to.be.a(list)\n expect([]).to.be.empty()\n\n expect(2).to.be.within(1,3)\n expect(list).to.have.method('append')\n\n----\nNote\n----\n\nRequires is still work-in-progress and it's API may change at anytime.\nHowever the changes shouldn't be overly drastic. Once I have settled\ndown to an API spec I will upload the package to PyPI and the changes\nshould then be either bugfixes or mainly additions and optimizations.\n\nYou can now download the package with PIP, and it is available under\nthe name ``Requires``. Feel free to require it within any of your\nunit test suites. You can easily install the package with the following\ncommand::\n\n $ pip install Requires\n\n--------\nOverview\n--------\n\nRequires uses a chainable object in order to create tests that are\nreally concise and readable. It is meant for use in the BDD style,\ni.e.:\n\n.. code:: python\n\n from requires.expect import expect\n from library import function\n\n res, err = function(0)\n expect(err).to.Not.exist()\n expect(res).to.be.equal(1)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/eugene-eeo/requires", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "Requires", "package_url": "https://pypi.org/project/Requires/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Requires/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/eugene-eeo/requires" }, "release_url": "https://pypi.org/project/Requires/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "BDD testing for Python", "version": "0.0.3" }, "last_serial": 985074, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c0e37857ff2d19627b7e0b02318534eb", "sha256": "a84690fabe11476733fccd35c91d4394eec958e3d4bf7488b171f94a407c5563" }, "downloads": -1, "filename": "Requires-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c0e37857ff2d19627b7e0b02318534eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5421, "upload_time": "2014-01-26T13:00:31", "url": "https://files.pythonhosted.org/packages/14/26/4c3accd7fec8361d256e4f70e3e9826e7675272668b5813227dc7e859f7b/Requires-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "13bfcfb55390a2c0cd730fc2c6332088", "sha256": "026d08e4c4ddabad6a2fba3b0cf4d49007c77639520d9062e37ccb068f67822a" }, "downloads": -1, "filename": "Requires-0.0.2.tar.gz", "has_sig": false, "md5_digest": "13bfcfb55390a2c0cd730fc2c6332088", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5556, "upload_time": "2014-01-28T13:18:57", "url": "https://files.pythonhosted.org/packages/83/ba/0b3d2302a4dd4a0dc2c0352fb4cf778e652c3d08f3e27cc9dceb048ac96b/Requires-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "542c4043f2981fde18573c99593f150b", "sha256": "bd48cb2deeb69fdffa9b016f18d7a8675a55867cbfcb8335430166779ee20279" }, "downloads": -1, "filename": "Requires-0.0.3.tar.gz", "has_sig": false, "md5_digest": "542c4043f2981fde18573c99593f150b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6838, "upload_time": "2014-01-29T12:43:10", "url": "https://files.pythonhosted.org/packages/34/c1/f243be4e9df56a7a66025727dc1eca4fb6366b0691cff3da4acb13cde2a4/Requires-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "542c4043f2981fde18573c99593f150b", "sha256": "bd48cb2deeb69fdffa9b016f18d7a8675a55867cbfcb8335430166779ee20279" }, "downloads": -1, "filename": "Requires-0.0.3.tar.gz", "has_sig": false, "md5_digest": "542c4043f2981fde18573c99593f150b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6838, "upload_time": "2014-01-29T12:43:10", "url": "https://files.pythonhosted.org/packages/34/c1/f243be4e9df56a7a66025727dc1eca4fb6366b0691cff3da4acb13cde2a4/Requires-0.0.3.tar.gz" } ] }