{ "info": { "author": "Hugo Lopes Tavares", "author_email": "hltbra@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Natural Language :: Portuguese (Brazilian)", "Operating System :: OS Independent", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "SpecLoud\n========\n\nUse nosetests and plugins to take BDD specifications easier.\n\n\nInstallation\n------------\n\nThe easiest way to install specloud is using pip and requirements file::\n\n $ pip install specloud\n\n\nUsage\n=====\n\nGet a python file with BDD-style test names (starting with it, ensure, should, must, spec, example, deve) and add them to the test suite\n\n\nFor example::\n\n $ cat example.py\n\n import unittest\n\n\n class CalculatorSpec(unittest.TestCase):\n\n def it_should_sum_integers(self):\n # ...\n pass\n\n def should_not_divide_by_zero(self):\n # ...\n pass\n\n def must_accept_floats(self):\n # ...\n pass\n\n def ensure_it_work_with_fractions(self):\n # ...\n pass\n\n def test_subtract_positive_from_negative_numbers(self):\n # ...\n pass\n\n def deve_calcular_raizes_quadradas(self):\n # ...\n pass\n\n\nThe command line tool `specloud` colorizes **green** for tests with no failures and no errors and **red** for tests with failures and/or errors::\n\n $ specloud example.py\n\n Calculator spec\n - ensure it work with fractions\n - it should sum integers\n - must accept floats\n - should not divide by zero\n - subtract positive from negative numbers\n - deve calcular raizes quadradas\n\n ----------------------------------------------------------------------\n Ran 6 tests in 0.003s\n\n OK\n\n\nHow It Works\n------------\n\nSpecLoud is a python package that install `nose`, `pinocchio` and `figleaf` packages, so it can call `nosetests` with `pinocchio` and `figleaf` plugins. `nosetests` is called with some default options to find test methods and `pinocchio` to show pretty and colored messages. `figleaf` is just `pinocchio` dependency.\n\nA call to::\n\n $ specloud FILE\n\n\nis the same doing::\n\n $ nosetests -i '^(it|ensure|must|should|specs?|examples?|deve)' -i '(specs?(.py)?|examples?(.py)?)$' '--with-spec' '--spec-color'\n\nOld Name\n--------\n\nThe project was born as a proof of concept and I named it firstly `pyunitbdd`. But that's a terrible name. So I renamed the project to `specloud`.", "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/hugobr/specloud", "keywords": "test bdd nosetests spec unit", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "specloud", "package_url": "https://pypi.org/project/specloud/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/specloud/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/hugobr/specloud" }, "release_url": "https://pypi.org/project/specloud/0.4.5/", "requires_dist": null, "requires_python": null, "summary": "install nosetests and plugins to ease bdd unit specs", "version": "0.4.5" }, "last_serial": 799869, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "2e83bcf7d9fe70a0f79813c4c97922dc", "sha256": "02b3d9ff6f47159f4a4a268f6fe92b1f2f2d413e40aaf1982882f5f049254c90" }, "downloads": -1, "filename": "specloud-0.3.tar.gz", "has_sig": false, "md5_digest": "2e83bcf7d9fe70a0f79813c4c97922dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3122, "upload_time": "2010-05-21T10:55:18", "url": "https://files.pythonhosted.org/packages/bb/14/71324da2a79a0fec73d072561c4c4633ed50436f2793275cd05bffa24514/specloud-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "65fc6ac2b58ea7e34d343254abb222c3", "sha256": "0273a9cd6f74099d94e1b6432972c1fdadd3118d24512b3d94edd6a9114d545b" }, "downloads": -1, "filename": "specloud-0.3.1.tar.gz", "has_sig": false, "md5_digest": "65fc6ac2b58ea7e34d343254abb222c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3361, "upload_time": "2010-05-21T11:41:16", "url": "https://files.pythonhosted.org/packages/ad/6a/5dcd58aeb63b0d4b0a8daeb2cb603ba2c0ecbb3aa1e349167b17dae03a41/specloud-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "f4e5349d9cb3ec296fe525520040452f", "sha256": "5e15143571f06b9b958fe88a24d32254bd63601404044f985c5ed7718bf21b3d" }, "downloads": -1, "filename": "specloud-0.3.2.tar.gz", "has_sig": false, "md5_digest": "f4e5349d9cb3ec296fe525520040452f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3437, "upload_time": "2010-08-02T19:31:25", "url": "https://files.pythonhosted.org/packages/42/d3/84497437916a56a18baa630db55e6364b3a9c94c68cbc54373209e77b8d7/specloud-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4f588b13f591891cbf4f794ee6374e4a", "sha256": "644a7f78d9dcb0cee8c14944445066e67d02d507edb716df4685ec35f25df9b3" }, "downloads": -1, "filename": "specloud-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4f588b13f591891cbf4f794ee6374e4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3451, "upload_time": "2010-08-02T19:37:03", "url": "https://files.pythonhosted.org/packages/62/b4/3be061f5b46d32ffb7136673ffc17a5435504149e1f97e9a61b3b3cae01f/specloud-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "cfb530bea2cd78dcbc7b8a41aa8bc1c2", "sha256": "ac9d3a305409a6ba8a8a1f049e20b8dd90dbd281dec200491fbbdf7a3b79833c" }, "downloads": -1, "filename": "specloud-0.4.1.tar.gz", "has_sig": false, "md5_digest": "cfb530bea2cd78dcbc7b8a41aa8bc1c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3474, "upload_time": "2011-03-09T16:17:07", "url": "https://files.pythonhosted.org/packages/fe/c5/69ee4d4006d1796e14d2398f82f3d40833c050ff61154a0dc4ed28d49f10/specloud-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "7a4dffa329a26b22d919682cef2c7c01", "sha256": "4a753401f3306f23c4ea6970328bb56608828f7a5d14ab10e0129ff57286c98a" }, "downloads": -1, "filename": "specloud-0.4.2.tar.gz", "has_sig": false, "md5_digest": "7a4dffa329a26b22d919682cef2c7c01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3474, "upload_time": "2011-03-09T16:33:53", "url": "https://files.pythonhosted.org/packages/f6/e7/1c6df07d42b12c8fcd5b1cc79b91d102fabad913dab56cd1384aa771f2e2/specloud-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "31d7ee1dd10988ac9acfc4cded82e088", "sha256": "d0158bffcc16cadc4f69077c59449930460842b140f704fe940922491ef0c9c5" }, "downloads": -1, "filename": "specloud-0.4.3.tar.gz", "has_sig": false, "md5_digest": "31d7ee1dd10988ac9acfc4cded82e088", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3503, "upload_time": "2011-06-06T14:18:22", "url": "https://files.pythonhosted.org/packages/e5/ac/6c3520fce3b30215320ee01efc8f8595603a5184cde5b02afba3f75eeda6/specloud-0.4.3.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "384310659f8df1b79ad35f143047ef59", "sha256": "d41550b41df6d17e6a1a820d5fe635ee31d53f4a72b3024cc7875f458045076d" }, "downloads": -1, "filename": "specloud-0.4.4.tar.gz", "has_sig": false, "md5_digest": "384310659f8df1b79ad35f143047ef59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3503, "upload_time": "2011-06-30T16:14:03", "url": "https://files.pythonhosted.org/packages/a3/6f/31c8677c71520f5faadf9d1f6bb60b73de19fd7d890dc9de83d1e04efbc4/specloud-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "7fb00adf64c775c6f1f2e601605f53e3", "sha256": "a4705f2fd0d89f07d66cc721c0a17e302e1d67205e0d4b1880044d38bc3fdbb8" }, "downloads": -1, "filename": "specloud-0.4.5.tar.gz", "has_sig": false, "md5_digest": "7fb00adf64c775c6f1f2e601605f53e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3517, "upload_time": "2012-04-07T03:15:37", "url": "https://files.pythonhosted.org/packages/13/8e/a9f416e219493c0600ebad6188b00318ade9bc1fcc6e9557851f7b7073d6/specloud-0.4.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7fb00adf64c775c6f1f2e601605f53e3", "sha256": "a4705f2fd0d89f07d66cc721c0a17e302e1d67205e0d4b1880044d38bc3fdbb8" }, "downloads": -1, "filename": "specloud-0.4.5.tar.gz", "has_sig": false, "md5_digest": "7fb00adf64c775c6f1f2e601605f53e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3517, "upload_time": "2012-04-07T03:15:37", "url": "https://files.pythonhosted.org/packages/13/8e/a9f416e219493c0600ebad6188b00318ade9bc1fcc6e9557851f7b7073d6/specloud-0.4.5.tar.gz" } ] }