Skip to content

Support for pytest-subtests #233

@ghost

Description

I am using pytest-subtests because need to re-iterate over multiple things with different arguements and pytest_generate_tests doesn't work with fixtures.

collected 1 item                                                                                                                                                                                               

tests/test_x.py::test_hostname [Hostname] (i='HOSTNAME1') SUBPASS
tests/test_x.py::test_hostname [Hostname] (i='HOSTNAME2') SUBPASS
tests/test_x.py::test_hostname PASSED

Test Suite:
image

Test Metric:
image

It would be nice to see all the individual subtests in the HTML report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions