python / python/mypy

Add option to specify junit xml testsuite name

Open
#20,310 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

Feature

Add an option to specify junit xml testsuite name. For example --junit-xml-name or --junit-suite-name .

Pitch

Currently, mypy just writes the generic testsuite name "mypy".
In a CI with multiple mypy invocations, this is not specific enough to quickly get an overview of which package is failing.

Contributor guide

Open the contributing guide

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

Start by locating mypy's JUnit XML output generation and command-line option handling. Define how the new option supplies a testsuite name for separate mypy invocations, then verify that the generated XML uses the configured name while retaining the existing default.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.