orhun/binsider

Improve the test suite

Ouverte

#5 ouverte le 11 sept. 2024

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (105 forks)auto 404
effort: mediumenhancementhelp wanted

Métriques du dépôt

Stars
 (4 333 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Is your feature request related to a problem? Please describe.

binsider is not tested thoroughly right now. See the codecov report: https://app.codecov.io/gh/orhun/binsider

Describe the solution you'd like

Add unit and integration tests and assert the state of the TUI. See the following project's test suite for inspiration:

Describe alternatives you've considered

None.

Additional context

There are some tests in place which should be skipped due to weird behavior on some platforms. For example, app::tests reads the debug binary but in CI it fails due to "resource temporarily unavailable". See https://github.com/orhun/binsider/actions/runs/10800912100/job/29959939240

Guide contributeur