{ "info": { "author": "Rapha\u00ebl Barrois", "author_email": "raphael.barrois@polytechnique.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-runtests\n===============\n\nEases the writing of a ``runtests.py`` script for pluggable django application.\n\n\nSuch scripts usually provide a ``runtests()`` method that handle the test running behaviour.\n\n\nInstallation\n------------\n\n- Globally::\n\n $ pip install django-runtests\n\n- From the package's ``setup.py`` file (using Distribute)::\n\n setup(\n test_requires=[\n 'django-runtests',\n ],\n test_suite='runtests.runtests',\n )\n\n\nDefining the test setup\n-----------------------\n\nIn your ``runtests.py`` file, add the following code::\n\n from django_runtests import RunTests\n\n def runtests():\n return RunTests.runtests()\n\n if __name__ == '__main__':\n RunTests.main()\n\n\nTweaking the test setup\n-----------------------\n\nIf you need to tweak some parts (updating configuration, adding options, ...), you\nsimply have to extend the ``RunTests`` command class::\n\n import django_runtests\n\n class RunTests(django_runtests.RunTests):\n\n def should_test_app(self, app):\n \"\"\"Test only applications listed in 'PACKAGE_APPS' setting.\"\"\"\n from django.conf import settings\n return app in settings.PACKAGE_APPS\n\n.. vim:set ft=rst:\n", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/django-runtests/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/rbarrois/django-runtests", "keywords": "django,test,runtests,test runner", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django_runtests", "package_url": "https://pypi.org/project/django_runtests/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_runtests/", "project_urls": { "Download": "http://pypi.python.org/pypi/django-runtests/", "Homepage": "http://github.com/rbarrois/django-runtests" }, "release_url": "https://pypi.org/project/django_runtests/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "A base framework to write a simple runtests.py script for django apps.", "version": "0.4.0" }, "last_serial": 638457, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "69b00748ceef0c90587b749ff0b3df19", "sha256": "e848cc69bdd64119adf9011cd0f9d5ec7277557d433f7a253f6efc1c2c084311" }, "downloads": -1, "filename": "django_runtests-0.2.0.tar.gz", "has_sig": false, "md5_digest": "69b00748ceef0c90587b749ff0b3df19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9856, "upload_time": "2012-08-31T09:02:17", "url": "https://files.pythonhosted.org/packages/76/86/20a83cc8615726bc13e8429925805e920fbb8d95c61eea747224664a27b9/django_runtests-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b219c3d12a3d3eceb1d22363873a7d26", "sha256": "c7961697818c622c2bee58fec15af4307d69ec6f3d4a78a625785251168cde18" }, "downloads": -1, "filename": "django_runtests-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b219c3d12a3d3eceb1d22363873a7d26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9917, "upload_time": "2012-08-31T10:28:05", "url": "https://files.pythonhosted.org/packages/00/33/4c428a28fec41e822b40987d845f4242f7e0e630ec58525c04ba0c21e370/django_runtests-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "c12de9eac7df08e9df012307ab24d54c", "sha256": "92ad810e3f1c382c79895230dc8ef54a01243750f9abeb62586fe29dd051a362" }, "downloads": -1, "filename": "django_runtests-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c12de9eac7df08e9df012307ab24d54c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8212, "upload_time": "2012-09-10T16:24:39", "url": "https://files.pythonhosted.org/packages/43/a4/8ae6b609e5a58f707ccec7869c9c8f42eb91d4f7fd3fb3fc8406b276e696/django_runtests-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c12de9eac7df08e9df012307ab24d54c", "sha256": "92ad810e3f1c382c79895230dc8ef54a01243750f9abeb62586fe29dd051a362" }, "downloads": -1, "filename": "django_runtests-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c12de9eac7df08e9df012307ab24d54c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8212, "upload_time": "2012-09-10T16:24:39", "url": "https://files.pythonhosted.org/packages/43/a4/8ae6b609e5a58f707ccec7869c9c8f42eb91d4f7fd3fb3fc8406b276e696/django_runtests-0.4.0.tar.gz" } ] }