orhun/binsider

Improve the test suite

Aperta

#5 aperta il 11 set 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (105 fork)auto 404
effort: mediumenhancementhelp wanted

Metriche repository

Star
 (4333 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor