far2l
far2l copied to clipboard
Testing suite
Need to create (or find) existing testing framework that would be able to run terminal application like far2l send to it keystrokes check for specific output at specified screen places. Something like expect but more sophisticated (or may be i dont know expect good enough) to be able to perform functional tests of different usecases of far2l.
In my opinion, the easiest way to implement such a framework is to make it on the top of far2l itself. far2l already has a built-in terminal and the ability to simulate any keystrokes.
..it would be funny)
Probably console apps interaction framework used for FISH (SHELL) protocol implementation in NetRocks can be used for implementing automated testing.
https://github.com/elfmz/far2l/issues/1819#issuecomment-1732667094