pytest-reporter-html1 icon indicating copy to clipboard operation
pytest-reporter-html1 copied to clipboard

Report title

Open rpagadala20 opened this issue 3 years ago • 1 comments

Hi,

It would be great if we can able to custom Report Title

image

Thanks

rpagadala20 avatar Mar 22 '21 06:03 rpagadala20

As the jinja is already written in the provided template: image

this should do it:

@pytest.mark.optionalhook
def pytest_reporter_context(context, config):
	context["title"] = "name"

eoinmarron avatar Nov 05 '21 08:11 eoinmarron