Skip to content

Increase unit test coverage #549

Open
@minghinmatthewlam

Description

@minghinmatthewlam

Context and scope
Currently the validator manager contracts haven't kept up as much for unit tests, need to look into test coverage report for forge coverage and get it up to expectations. With our repo structure of having the tests live next to the source code instead of a root tests folder, the forge command would need some tweaks to get accurate test coverage report for just source files.

Discussion and alternatives
Find a reproducible command or script that can test the unit test coverage of the validator manager contracts. Or ideally, different components in this repo like teleporter as well, but not a priority to include for teleporter right now.

Add basic unit tests to bring test coverage up.

Open questions
Example command forge coverage --no-match-coverage "(mocks|teleporter|utilities|governance)"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      In Progress 🏗

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions