Skip to content

I am notgetting report in the code but I am getting in command prompt window #857

@ajayraajj

Description

@ajayraajj

@pytest.hookimpl(tryfirst=True)
def pytest_configure(config):
if not os.path.exists('reports'):
os.makedirs('reports')
config.option.htmlpath = 'reports/'+datetime.now().strftime("%d-%m-%Y %H-%M-%S")+".html"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions