Skip to content

Add pytest.param(id=...) to all parametrized tests #1163

@prjemian

Description

@prjemian

Nearly every parametrized test in the codebase lacks pytest.param(id=...) labels. Named test IDs make pytest output much more readable and failures easier to diagnose.

This was excluded from #1154 to keep that PR focused on critical anti-patterns. A comprehensive sweep should add id= to all @pytest.mark.parametrize calls across all test files.

Files that already use pytest.param(id=...) (can serve as examples):

Spun off from #1154.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions