rizin icon indicating copy to clipboard operation
rizin copied to clipboard

Provide a mechanism to test tui mode of rizin

Open PeiweiHu opened this issue 1 year ago • 2 comments

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

IMO, currently the stability of TUI mode (like Vv and v) is not as good as the interactive shell. For example, the TUI mode suffers from the following issues:

  • hidden key bindings which are not included in any help info
  • wrong help info

Moreover, after one refines the code of TUI mode, we can only verify the possible effectiveness manually, which is very limited. One way to improve its quality is to provide a mechanism to perform regression tests on the TUI mode like the tests for interactive shell in db/test/cmd.

If there is a mechanism to test TUI mode and I miss it, please tell me.

PeiweiHu avatar Nov 06 '23 06:11 PeiweiHu

Something like Robot Framework could be used maybe? https://forum.robotframework.org/t/how-to-use-robotframework-for-system-administration/1877/19

XVilka avatar Nov 09 '23 16:11 XVilka

https://github.com/microsoft/tui-test

pelijah avatar Apr 22 '24 11:04 pelijah