pytest-dev / pytest-dev/pytest-html

Metadata is missing in the latest versions of pytest-html reports

Open
#731 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Why metadata is missing is the recently released versions of pytest-html report.
I am using version 3.1.1 and would like to have metadata like Build URL, Git repo and all the details. can someone help me to get metadata in pytest-html reports?

I am using command to generate html report and report directly starts with run time unlike old version like 1.20.0

pytest -sv --html=report.html test_filename.py

pytest

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with pytest-html 3.1.1 using pytest -sv --html=report.html test_filename.py, then compare it with the reported 1.20.0 behavior. Review the project’s metadata configuration and report-generation guidance; done means the expected Build URL, Git repository, and related metadata are either restored in the report or the required configuration is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.