{ "info": { "author": "Enrico Franchi", "author_email": "enrico.franchi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Testing" ], "description": "This package allows to create parametrized unit-tests that work with the\nstandard unittest package. A parametrized test case is automatically\nconverted to multiple test cases. Since they are TestCase subclasses,\nthey work with other test suites that recognize TestCases.\n\nExamples::\n\n import unittest\n import paramunittest\n\n @paramunittest.parametrized(\n ('1', '2'),\n #(4, 3),\n ('2', '3'),\n (('4', ), {'b': '5'}),\n ((), {'a': 5, 'b': 6}),\n {'a': 5, 'b': 6},\n )\n class TestFoo(paramunittest.ParametrizedTestCase):\n def setParameters(self, a, b):\n self.a = a\n self.b = b\n\n def testLess(self):\n self.assertLess(self.a, self.b)\n\n @paramunittest.parametrized(\n ('1', '2'),\n #(4, 3),\n ('2', '3'),\n (('4', ), {'b': '5'}),\n ((), {'a': 5, 'b': 6}),\n {'a': 5, 'b': 6},\n )\n class TestBar(unittest.TestCase):\n def setParameters(self, a, b):\n self.a = a\n self.b = b\n\n def testLess(self):\n self.assertLess(self.a, self.b)", "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/rik0/ParamUnittest", "keywords": "unittest", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "ParamUnittest", "package_url": "https://pypi.org/project/ParamUnittest/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ParamUnittest/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rik0/ParamUnittest" }, "release_url": "https://pypi.org/project/ParamUnittest/0.2/", "requires_dist": null, "requires_python": null, "summary": "Simple extension to have parametrized unit tests.", "version": "0.2" }, "last_serial": 784881, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "01d1bfd2222e8c55a21d5305c4bf50ed", "sha256": "6f28ba5e204778deaebf7f5f21b803d6668c0799e49e42285f8f55312caf0b7e" }, "downloads": -1, "filename": "ParamUnittest-0.1.tar.gz", "has_sig": false, "md5_digest": "01d1bfd2222e8c55a21d5305c4bf50ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2126, "upload_time": "2012-09-12T15:26:59", "url": "https://files.pythonhosted.org/packages/d7/ef/1029e037b314f708f16bf73d445d167d186e861c9e90a02028df23aa0c63/ParamUnittest-0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "f841a786e044f3daf30d98e4a647834d", "sha256": "e022ec7c7955090b1e93cebf2dcf38ce574c7f55c4d7f82dc6f3c9ee2fe75add" }, "downloads": -1, "filename": "ParamUnittest-0.1.zip", "has_sig": false, "md5_digest": "f841a786e044f3daf30d98e4a647834d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4687, "upload_time": "2012-09-12T15:27:01", "url": "https://files.pythonhosted.org/packages/f1/1f/f421cdbd86bc81709ff69f0cc8bc1fd4f8e7e60f2c8132d6fa33a75f70af/ParamUnittest-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "982731aa4c09b4a9c8e3d7668fa2186a", "sha256": "a14509549171465c3a444fa631cb7066787e05970777e6370fbb17cde148e74e" }, "downloads": -1, "filename": "ParamUnittest-0.2.tar.gz", "has_sig": false, "md5_digest": "982731aa4c09b4a9c8e3d7668fa2186a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2482, "upload_time": "2012-09-21T16:45:22", "url": "https://files.pythonhosted.org/packages/a8/63/7b69e8db183bb3592295f6d086cbc46be9bdbe6fdfa0d9f924a682faa5ae/ParamUnittest-0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "431e7e39409b2a2c2a403532dce13191", "sha256": "3986ff045ca77d43de48d931c04a067e2e084727a0fdf7f418fde217823d74cb" }, "downloads": -1, "filename": "ParamUnittest-0.2.zip", "has_sig": false, "md5_digest": "431e7e39409b2a2c2a403532dce13191", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4635, "upload_time": "2012-09-21T16:45:23", "url": "https://files.pythonhosted.org/packages/60/b7/b775b4ce23ca303c7a41ab9a3ed303ba85d10d89b41524daa07619073fc6/ParamUnittest-0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "982731aa4c09b4a9c8e3d7668fa2186a", "sha256": "a14509549171465c3a444fa631cb7066787e05970777e6370fbb17cde148e74e" }, "downloads": -1, "filename": "ParamUnittest-0.2.tar.gz", "has_sig": false, "md5_digest": "982731aa4c09b4a9c8e3d7668fa2186a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2482, "upload_time": "2012-09-21T16:45:22", "url": "https://files.pythonhosted.org/packages/a8/63/7b69e8db183bb3592295f6d086cbc46be9bdbe6fdfa0d9f924a682faa5ae/ParamUnittest-0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "431e7e39409b2a2c2a403532dce13191", "sha256": "3986ff045ca77d43de48d931c04a067e2e084727a0fdf7f418fde217823d74cb" }, "downloads": -1, "filename": "ParamUnittest-0.2.zip", "has_sig": false, "md5_digest": "431e7e39409b2a2c2a403532dce13191", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4635, "upload_time": "2012-09-21T16:45:23", "url": "https://files.pythonhosted.org/packages/60/b7/b775b4ce23ca303c7a41ab9a3ed303ba85d10d89b41524daa07619073fc6/ParamUnittest-0.2.zip" } ] }