pytest-dev / pytest-dev/pytest-html

Extra content improvements

Open
#274 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I’ve got some suggestions on improving the extra feature. Please let me know what you think and I can do the implementation.

  • Add to documentation what types of content are supported and their respective limitations. I.e. Base64, local paths, URL.
  • Add possibility to add raw data without having to Base64 encode it first. It’s currently not possible to add content as bytes so that could be used to identify raw data.
  • Automatically read and Base64 encode local files added to a self contained report instead of producing a warning.
  • Indent JSON files for readability

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

The issue proposes four separate changes covering documentation, raw bytes, local-file encoding, and JSON formatting, but names no files, tests, or entry points. Review the existing content-handling and self-contained-report behavior first, then split the proposals into defined changes with tests and clear completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.