{ "info": { "author": "Benjamin W. Smith", "author_email": "benjaminwarfield@just-another.net", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Software Development :: Testing" ], "description": "COOL STORY BRO\n==============\n\n[Someone](http://twitter.com/garybernhardt) once said [Resisting the urge to write a test runner that raises CoolStoryBro if your test is over eight lines long.](http://twitter.com/#!/garybernhardt/status/125711084878442496).\n\nYou're welcome.\n\nINSTALL, BRO\n============\n\n $ pip install git+git://github.com/benjaminws/nose-coolstorybro.git\n\nUSAGE, BRO\n==========\n\nYour tests are too big, bro\n---------------------------\n\n $ nosetests --with-coolstorybro test/examples\n E\n ======================================================================\n ERROR: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro\n ----------------------------------------------------------------------\n Traceback (most recent call last):\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py\", line 133, in run\n self.runTest(result)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py\", line 151, in runTest\n test(result)\n File \"/usr/lib/python2.7/unittest/case.py\", line 385, in __call__\n return self.run(*args, **kwds)\n File \"/usr/lib/python2.7/unittest/case.py\", line 296, in run\n result.startTest(self)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py\", line 172, in startTest\n self.plugins.startTest(self.test)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py\", line 94, in __call__\n return self.call(*arg, **kw)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py\", line 162, in simple\n result = meth(*arg, **kw)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py\", line 343, in startTest\n return self.plugin.startTest(test.test)\n File \"build/bdist.linux-x86_64/egg/coolstorybro/coolstorybro.py\", line 43, in startTest\n raise CoolStoryBro\n CoolStoryBro: U MAD?\n \n ----------------------------------------------------------------------\n Ran 0 tests in 0.002s\n \n FAILED (errors=1)\n\nHow many lines was that?\n------------------------\n\n $ nosetests --with-coolstorybro --tl-dr test/examples\n E\n ======================================================================\n ERROR: test_ex_coolstorybro.TestCoolStoryBroExample.test_ex_coolstorybro\n ----------------------------------------------------------------------\n Traceback (most recent call last):\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py\", line 133, in run\n self.runTest(result)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/case.py\", line 151, in runTest\n test(result)\n File \"/usr/lib/python2.7/unittest/case.py\", line 385, in __call__\n return self.run(*args, **kwds)\n File \"/usr/lib/python2.7/unittest/case.py\", line 296, in run\n result.startTest(self)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/proxy.py\", line 172, in startTest\n self.plugins.startTest(self.test)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py\", line 94, in __call__\n return self.call(*arg, **kw)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py\", line 162, in simple\n result = meth(*arg, **kw)\n File \"/home/bsmith/Dev/python/nose-coolstorybro/lib/python2.7/site-packages/nose/plugins/manager.py\", line 343, in startTest\n return self.plugin.startTest(test.test)\n File \"build/bdist.linux-x86_64/egg/coolstorybro/coolstorybro.py\", line 42, in startTest\n raise CoolStoryBro(\"TL;DR: %d lines\" % test_length)\n CoolStoryBro: TL;DR: 12 lines\n \n ----------------------------------------------------------------------\n Ran 0 tests in 0.002s\n \n FAILED (errors=1)", "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/benjaminws/nose-coolstorybro", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "nose-coolstorybro", "package_url": "https://pypi.org/project/nose-coolstorybro/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nose-coolstorybro/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/benjaminws/nose-coolstorybro" }, "release_url": "https://pypi.org/project/nose-coolstorybro/0.1/", "requires_dist": null, "requires_python": null, "summary": "TL;DR", "version": "0.1" }, "last_serial": 795498, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "672892d0fa4f3a945a1c4da0a0296603", "sha256": "f609dbc0dcc1218e6b237a31f83f4c79628013e5bac20b0f46b11d1322c5bf3a" }, "downloads": -1, "filename": "nose-coolstorybro-0.1.tar.gz", "has_sig": false, "md5_digest": "672892d0fa4f3a945a1c4da0a0296603", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2381, "upload_time": "2011-10-26T21:18:59", "url": "https://files.pythonhosted.org/packages/6a/51/823b6c8bd8de9e3611b2bb2e1af7d790ee64ef7262c494cabe7db37e8bfb/nose-coolstorybro-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "672892d0fa4f3a945a1c4da0a0296603", "sha256": "f609dbc0dcc1218e6b237a31f83f4c79628013e5bac20b0f46b11d1322c5bf3a" }, "downloads": -1, "filename": "nose-coolstorybro-0.1.tar.gz", "has_sig": false, "md5_digest": "672892d0fa4f3a945a1c4da0a0296603", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2381, "upload_time": "2011-10-26T21:18:59", "url": "https://files.pythonhosted.org/packages/6a/51/823b6c8bd8de9e3611b2bb2e1af7d790ee64ef7262c494cabe7db37e8bfb/nose-coolstorybro-0.1.tar.gz" } ] }