Skip to content

Increase test coverage #1575

@chapulina

Description

@chapulina

Desired behavior

Our focus for the 2nd half of 2022 is quality assurance. We'll kick this off with a 1-month sprint to increase the test coverage of the entire stack.

Once a library has reached the desired coverage level, we'll turn on coverage requirements for PRs, so new features can't be added without a satisfactory amount of tests.

Target

  • Citadel, Fortress and Garden
  • All Gazebo libraries
  • C++ non-GUI non-vendored non-deprecated code (explicitly excludes Python / QML)
  • 90%

Current status

Package Citadel Fortress Garden
gz-cmake - - -
gz-common codecov codecov codecov
gz-fuel-tools codecov codecov codecov
gz-gui codecov codecov codecov
gz-launch codecov codecov codecov
gz-math codecov - codecov
gz-msgs codecov codecov codecov
gz-physics codecov codecov codecov
gz-plugin codecov - codecov
gz-rendering codecov codecov codecov
gz-sensors codecov codecov codecov
gz-sim codecov codecov codecov
gz-tools - - -
gz-transport codecov codecov codecov
gz-utils - codecov codecov
sdformat codecov codecov codecov

Preliminary tasks

  • Double-check all codecov badges on each package's README
  • Double-check that coverage reports are being generated correctly
    • no missing files
    • no vendored code included
    • correct branches being uploaded to codecov
    • codecov coverage matches local LCOV reports
  • Setup coverage requirements at current levels for all libraries

Metadata

Metadata

Assignees

Labels

QAQuality assurance.enhancementNew feature or request

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions