{"library":"parametrize","title":"parametrize","description":"A drop-in replacement for @pytest.mark.parametrize that works with unittest.TestCase classes, enabling parameterized tests without needing pytest. Current version 0.2.0. Development appears low-activity.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install parametrize"],"cli":null},"imports":["from parametrize import parametrize"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import unittest\nfrom parametrize import parametrize\n\nclass TestMath(unittest.TestCase):\n    @parametrize('a,b,expected', [\n        (1, 1, 2),\n        (2, 2, 4),\n        (3, 5, 8)\n    ])\n    def test_add(self, a, b, expected):\n        self.assertEqual(a + b, expected)\n\nif __name__ == '__main__':\n    unittest.main()","lang":"python","description":"Basic usage with unittest.TestCase showing parameterized tests.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}