{ "info": { "author": "Steve Matney", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "WHAT?!\n===\n\nThis is literally an exact clone of unittest (from Python 2.7), but with colors.\n(Now also compatible with Python 3!)\n\nHOW?!\n===\n\nYou literally use it in the exact same way as [unittest](http://docs.python.org/2/library/unittest.html).\n\nINSTALLATION?!\n===\n\nYou can just install it into your path or your sourced virtual environment with this extremely easy command:\n\n pip install redgreenunittest\n\nAfter that, just reference this package like a normal, regular old python package like this:\n\n import redgreenunittest\n\nIf you do want to use it as a direct replacement for unittest without doing any extra work, you can just import like this:\n\n import redgreenunittest as unittest\n\nBUT WHAT ABOUT DJANGO?!\n===\n\nI assume you mean the Python framework. (Not that movie.) Remember when I said, \"exact clone\" before? I lied. There is one extra directory called \"django\" in there that contains a file called \"simple.py\"\n\nIf you want to use this as your test runner, and you're already using unittest, you can literally drop this line of code into your settings.py file, and it will straight up work if you followed those installation instructions. In fact you could even skip the referencing step since Python is smart.\n\n TEST_RUNNER=\"redgreenunittest.django.runner.RedGreenDiscoverRunner\"\n\nGo ahead. Run your tests. Colors. It's like we live in the future.\n\nDJANGO < 1.6\n==\n\nRunning a Django version pre-1.6? Then you'll want the simple runner.\n\n TEST_RUNNER=\"redgreenunittest.django.simple.RedGreenTestSuiteRunner\"\n\n\nCAVEATS?!\n===\n\nOk, so if you're using a vim gui like MacVim or GVim and its shell to run your tests, they're going to look super weird. Sorry. You're boned for colors in that shell. You can use [conque](https://code.google.com/p/conque/) if you want. I made it work using [zsh](http://www.zsh.org/) and [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) and some medium-level vim scripting.\n\nThe reason it sucks is because `$TERM` is set to `dumb` in the vim gui shell ([literally](http://stackoverflow.com/a/13382717/1687623)). So if you're using any other shell where `$TERM` is set to `dumb`, you're also going to be boned in that case.\n\nYou may be boned in other scenarios. My experience in this area is limited. Let me know if you find yourself boned in other situations. I may be able to help, or I can at least make a note in this README.", "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/stevematney/redgreenunittests", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "redgreenunittest", "package_url": "https://pypi.org/project/redgreenunittest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/redgreenunittest/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/stevematney/redgreenunittests" }, "release_url": "https://pypi.org/project/redgreenunittest/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "This is literally an exact clone of unittest (from Python 2.7), but with colors.", "version": "0.1.1" }, "last_serial": 1037458, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c723abf308a1aa20e133f2888187447f", "sha256": "72c4e42196ca7c26cd615ac7814c964abab2cfc6be7a0aafe07d77484453e7e9" }, "downloads": -1, "filename": "redgreenunittest-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c723abf308a1aa20e133f2888187447f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56416, "upload_time": "2013-12-11T18:22:13", "url": "https://files.pythonhosted.org/packages/21/f5/64ce590125a64dd632dcee1e4aaf62fd4a1fb0ee56173af36080725d4d4a/redgreenunittest-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "built for Darwin-13.1.0", "digests": { "md5": "b8db6f7016e37d4dee9116f2a31a14ba", "sha256": "3543283003a3da61705544794b843fbb766f3cf22dfb133fc56c24104578c2d8" }, "downloads": -1, "filename": "redgreenunittest-0.1.1.macosx-10.9-intel.tar.gz", "has_sig": false, "md5_digest": "b8db6f7016e37d4dee9116f2a31a14ba", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 56321, "upload_time": "2014-03-21T23:00:33", "url": "https://files.pythonhosted.org/packages/0d/88/124b4e717d9c7eebd51972cc6b9c7cb197e3e7574f5804c7b707ee1d3143/redgreenunittest-0.1.1.macosx-10.9-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "b67923f59399962c228bc88b10d414de", "sha256": "7cbf5ffdc3cffe57e0f2e1312d07ee6ad162a1ea9bc45e89cad32239708f4cd4" }, "downloads": -1, "filename": "redgreenunittest-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "b67923f59399962c228bc88b10d414de", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 69179, "upload_time": "2014-03-21T22:51:56", "url": "https://files.pythonhosted.org/packages/e8/7c/d366bb1bdee46d74ec766af6c352308a197e4339c06e98bc29919d6b228c/redgreenunittest-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c86d5051efbec9609ba5912839efe5a2", "sha256": "94f98a8928f80f4bf216e316062cd7d7af134d922287e73f59cab0f3262d87b4" }, "downloads": -1, "filename": "redgreenunittest-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c86d5051efbec9609ba5912839efe5a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56485, "upload_time": "2014-03-21T23:05:44", "url": "https://files.pythonhosted.org/packages/28/4f/8bf056d2861160aeaa1fd69c88561966cd014b85f5994f5692a5278e19d5/redgreenunittest-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "built for Darwin-13.1.0", "digests": { "md5": "b8db6f7016e37d4dee9116f2a31a14ba", "sha256": "3543283003a3da61705544794b843fbb766f3cf22dfb133fc56c24104578c2d8" }, "downloads": -1, "filename": "redgreenunittest-0.1.1.macosx-10.9-intel.tar.gz", "has_sig": false, "md5_digest": "b8db6f7016e37d4dee9116f2a31a14ba", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 56321, "upload_time": "2014-03-21T23:00:33", "url": "https://files.pythonhosted.org/packages/0d/88/124b4e717d9c7eebd51972cc6b9c7cb197e3e7574f5804c7b707ee1d3143/redgreenunittest-0.1.1.macosx-10.9-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "b67923f59399962c228bc88b10d414de", "sha256": "7cbf5ffdc3cffe57e0f2e1312d07ee6ad162a1ea9bc45e89cad32239708f4cd4" }, "downloads": -1, "filename": "redgreenunittest-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "b67923f59399962c228bc88b10d414de", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 69179, "upload_time": "2014-03-21T22:51:56", "url": "https://files.pythonhosted.org/packages/e8/7c/d366bb1bdee46d74ec766af6c352308a197e4339c06e98bc29919d6b228c/redgreenunittest-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "c86d5051efbec9609ba5912839efe5a2", "sha256": "94f98a8928f80f4bf216e316062cd7d7af134d922287e73f59cab0f3262d87b4" }, "downloads": -1, "filename": "redgreenunittest-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c86d5051efbec9609ba5912839efe5a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56485, "upload_time": "2014-03-21T23:05:44", "url": "https://files.pythonhosted.org/packages/28/4f/8bf056d2861160aeaa1fd69c88561966cd014b85f5994f5692a5278e19d5/redgreenunittest-0.1.1.tar.gz" } ] }