orhun/binsider

Improve the test suite

オープン

#5 opened on 2024/09/11

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (105 件のフォーク)auto 404
effort: mediumenhancementhelp wanted

Repository metrics

Stars
 (4,333 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド