Skip to content

Register pytest plugin instead of generating conftest.py #297

@brandon-leapyear

Description

@brandon-leapyear

I'm trying to integrate Pylenium into an existing Pytest suite, and I don't want to copy the Pylenium conftest.py into our manually written conftest.py. But also in general, registering a Pytest plugin is much more idiomatic than generating a conftest.py file.

Currently working around this by renaming the file to pylenium_conftest.py and adding pytest_plugins = ["pylenium_conftest"] in conftest.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions