orhun/binsider

Improve the test suite

Open

#5 opened on Sep 11, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (105 forks)auto 404
effort: mediumenhancementhelp wanted

Repository metrics

Stars
 (4,333 stars)
PR merge metrics
 (PR metrics pending)

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

Contributor guide