pytest-dev / pytest-dev/pytest-html
new feature request: adding a textfile as a clickable url to report
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to add a file in .extras as a file and clickable url.
extras.html adds html and extras.text adds text directly into the report
It is the collected log along with the test it is way to big to show in report, but you can click it as you can with extras.images
Anyone having an example or idea on how to do this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading how extras.html, extras.text, and extras.images are handled in the pytest-html report, including the .extras references in the issue. Determine how a collected log or test file can be represented as a clickable URL instead of inline text, and verify that the generated report exposes that link; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100