parameterized icon indicating copy to clipboard operation
parameterized copied to clipboard

Parameterized testing with any Python test framework

Results 47 parameterized issues
Sort by recently updated
recently updated
newest added
trafficstars

Howdy! I've found that mixing Python's `unittest.mock.patch` decorator with `parameterized.expand` leads to unfortunate side-effects. ```py @parameterized.expand([("x", "y"),]) @patch("foo") def test_bar(foo, x, y): pass ``` Will lead to `UnboundLocalError: local variable...

bug
needs-fix

Nose2 throws following errors when running parameterized tests in parallel with nose2. ``` ERROR: test_not_found (nose2.loader.LoadTestsFailure) Traceback (most recent call last): File "[...cut...]/site-packages/parameterized/parameterized.py", line 518, in standalone_func return func(*(a +...

pr-wanted

Hey, This PR adds a test showcasing an issue I found when trying to abstract some tests to a common base class. It's somewhat related to #73, the problem being...

needs-fix

Extend the fix for #73 to include inherited methods: copy all test methods from the original class into generated classes and set them to None in the original class. This...

In https://github.com/wolever/parameterized/issues/73 and https://github.com/wolever/parameterized/blob/b9f6a640452bcfdea08efc4badfe5bfad043f099/parameterized/parameterized.py#L698-L707 `parameterized_class` was updated to remove the `test*` methods from the base class. We sometimes use a custom test runner to run test-like methods in parameterized classes....

https://devguide.python.org/versions https://github.com/pytest-dev/pytest/releases

Hello, We plan to use this lib, but does the project is alive ? I see 13 Pr, and no "actvity" on the code base since 1 year. Best regards,