pytest-dev / pytest-dev/pytest-html
No output if I run pytest with collect-only flag ("--co")
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
I use the --co option in Pytest a lot to make sure new tests I write get picked up by our automation test framework. Unfortunately, pytest-html doesn't show me any information in the report (this is from rc5):
It would be nice to have that output available, something like 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
Reproduce the issue by running pytest with the --co option and pytest-html, then trace how collection results are handled in the plugin's report generation entry points. Done means the HTML report includes the collected test information instead of being empty, matching the requested output shown in the issue.
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
- Mostly clear
- Newbie friendliness
- 35/100