orhun/binsider

Improve the test suite

开放

#5 创建于 2024年9月11日

 (0 条评论) (0 个反应) (0 位负责人)Rust (105 个派生)auto 404
effort: mediumenhancementhelp wanted

仓库指标

星标
 (4,333 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南