{ "info": { "author": "Jonathan Fine", "author_email": "jfine@pytex.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Testing" ], "description": "Alib provides simple testing without boilerplate. For example, if\n*myfile.py* contains the line::\n\n 7 * 8 == 54 # I'm not sure about this!\n\nthen running::\n\n $ python -m alib.test myfile.py\n\nwill, because the test fails, report the test line and the nature of\nthe failure::\n\n line 3: 7 * 8 == 54 # I'm not sure about this!\n (['Eq'], [ReturnValue(56), ReturnValue(54)])\n\nExceptions are caught. The input line::\n\n (1 + '2') == 3 # Can we add a string to a number?\n\nproduces::\n\n line 4: (1 + '2') == 3 # Can we add a string to a number?\n (['Eq'], [ExceptionInstance(TypeError), ReturnValue(3)]\n\nThis test line succeeds (because the left hand side raises the right\nhand side).::\n\n (1 + '2') ** TypeError # We can't add a string to a number.\n\nTo test all Python files in the folder *path/to/mydir* run the command::\n\n $ python -m alib.test path/to/mydir", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jonathanfine/py-alib/tarball/0.0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jonathanfine/py-alib", "keywords": "testing", "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "alib", "package_url": "https://pypi.org/project/alib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/alib/", "project_urls": { "Download": "https://github.com/jonathanfine/py-alib/tarball/0.0.1", "Homepage": "https://github.com/jonathanfine/py-alib" }, "release_url": "https://pypi.org/project/alib/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "A LIB-rary of useful Python code", "version": "0.0.1" }, "last_serial": 1223914, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "64cd3888445d689997725bd08036e286", "sha256": "e4fa066d5fdf8a93a0763890b1f3a757a4edf1c9866dfb89763fa760dde4a7dd" }, "downloads": -1, "filename": "alib-0.0.1.tar.gz", "has_sig": false, "md5_digest": "64cd3888445d689997725bd08036e286", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6797, "upload_time": "2014-09-14T19:18:38", "url": "https://files.pythonhosted.org/packages/c4/fe/5e818b00bf54cd7de020ca17bcaf63b4642563b1b886c041033e3af76279/alib-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64cd3888445d689997725bd08036e286", "sha256": "e4fa066d5fdf8a93a0763890b1f3a757a4edf1c9866dfb89763fa760dde4a7dd" }, "downloads": -1, "filename": "alib-0.0.1.tar.gz", "has_sig": false, "md5_digest": "64cd3888445d689997725bd08036e286", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6797, "upload_time": "2014-09-14T19:18:38", "url": "https://files.pythonhosted.org/packages/c4/fe/5e818b00bf54cd7de020ca17bcaf63b4642563b1b886c041033e3af76279/alib-0.0.1.tar.gz" } ] }