pytest-dev / pytest-dev/pytest-html

add html anchors to each stdout line

Open
#213 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Sometimes the captured stdout/stderr can be quite long and it would be very useful if users could share bookmarks that send user to the exact captured line.

Example: http://logs.openstack.org/73/645273/26/check/tox-molecule/87eb604/tox/reports.html

To enable this we may need to add line numbers to the output but this can be done in pure CSS.

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

No source file or test is named. Start by tracing how captured stdout/stderr is rendered in the reports.html output; verify that each output line receives a bookmarkable anchor and that generated reports support direct links to those lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.