Parameterized Tests
← Back to Unit Testing
Same test logic, multiple inputs. Run the same test with different data sets to cover multiple cases without duplicating code. Supported by most test frameworks (pytest.parametrize, JUnit @ParameterizedTest, Jest each).
Key Properties
Related
- Property-Based Testing (generates inputs automatically)