{ "info": { "author": "Raphael Macedo", "author_email": "raphaelcmacedo@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "Easy Test\n=========\n\nA unit test framework for Django that will make your unit tests as easy\nas it should be\n\n|Code Health| |Pypi Version| |Pypi Downaloads| |License|\n\nWhat is Easy Test?\n------------------\n\nEasy Test is an extension of Django\u00e2\u20ac\u2122s test framework for the purpose of\nproviding premade configurable test cases, avoiding code replication and\nincreasing test coverage in the project.\n\nHow to install?\n---------------\n\nDownload the module using pip:\n\n.. code:: console\n\n pip install django-easy-test\n\nThen add it to your INSTALLED\\_APPS on your settings.py:\n\n.. code:: console\n\n INSTALLED_APPS = (\n # ...\n 'easy_test',\n )\n\nHow to use?\n-----------\n\nTo use it simply extend the wanted test case configuring it with a meta\nclass:\n\n.. code:: console\n\n class MyTest(FormTest):\n class Meta:\n obj = Person(\n name='John Doe',\n )\n url = 'my_url'\n )\n\nYou can also check our example project `Easy Test Example`_ containning\nfunctional samples for each test case comparing the *conventional test*\nwith Easy Test. Please find an example below:\n\nA conventional form test\n''''''''''''''''''''''''\n\n.. code:: console\n\n class TaskNewGet(TestCase):\n def setUp(self):\n self.response = self.client.get(resolve_url('task_new'))\n\n def test_html(self):\n tags = (\n ('