Skip to content

Increase Argument Clinic test coverage #106368

@erlend-aasland

Description

@erlend-aasland

The Argument Clinic test suite consists of three parts:

  • Lib/test/test_clinic.py: mostly parser tests
  • Lib/test/clinic.test: generated code, checked by test_clinic.py (ClinicExternalTest)
  • Modules/_testclinic.c: mostly converter tests (thanks, @colorfulappl!)

Test coverage is currently just above 80%, which is too low. I'd say we try to reach 90-something percent coverage.

Reminder: PRs for increased test coverage should be backported to all bugfix branches.

Linked PRs

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions