far2l icon indicating copy to clipboard operation
far2l copied to clipboard

Testing suite

Open elfmz opened this issue 1 year ago • 3 comments

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.

elfmz avatar Jul 09 '23 09:07 elfmz

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.

unxed avatar Jul 09 '23 09:07 unxed

..it would be funny)

elfmz avatar Jul 09 '23 09:07 elfmz

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

unxed avatar Sep 24 '23 20:09 unxed