medium10 pts · first answer countspytestdata-driven-testing
Counting parametrized tests
How many test cases does pytest generate from this function?
@pytest.mark.parametrize("browser", ["chromium", "firefox", "webkit"])
@pytest.mark.parametrize("role", ["admin", "viewer"])
def test_dashboard_loads(browser, role):
...Discussion 0
Join free to post in the discussion.
Related questions
- What a pytest fixture doesAutomation Test Engineer
- Sharing fixtures in pytestAutomation Test Engineer
- Asserting that an error is raisedAutomation Test Engineer
- Running pytest in parallelAutomation Test Engineer
- Clean-up in a pytest fixtureAutomation Test Engineer
- An expected failure that starts passingAutomation Test Engineer
- A patch that does nothingAutomation Test Engineer
- A test that depends on set orderAutomation Test Engineer