Skip to content

Increase test coverage #2092

@JeanChristopheMorinPerso

Description

Rez currently has a lot of tests, but our test coverage is only 60% at the time of writing this. Coverage can be visualized at https://app.codecov.io/gh/AcademySoftwareFoundation/rez/tree/main/.

The goal here is to add tests to cover critical pieces and help us reach at least 80% coverage.

Critical parts that need immediate attention, in no particular order:

Also critical, but much harder to test:

  • src/rez/resolver.py and src/rez/solver.py (this is the brain. We have some solver tests, but we need way more. Before tackling this, please reach out to the TSC to make a plan)
  • src/rez/cli (this is the CLI, which was not particularly designed to be tested, not impossible, but also not always easy to test)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions