Replies: 1 comment 2 replies
-
Are you using v2 or v1? Here is an example of an automation style test for Terminal.Gui/UnitTests/FileServices/FileDialogTests.cs Lines 32 to 57 in 9365951
Is the goal that you treat the app as a 'black box' and have a pre defined series of keypresses/clicks you want executed at a given timings while it is running? Presumably after which you want to look at the environment or process output? |
Beta Was this translation helpful? Give feedback.
-
Lets consider that we have built the an installer using Terminal.Gui and want to test, and we want to test it in an automated way.
We have previously used a simple expect sequence to go through the options in a bash script and verify in the backend.
Expect does not seem to work for Terminal.Gui or do you need to do something special to get it to work?
Or how can this be achieved any advice's or examples where there are tests wrt sequence to go through the options in a bash script and verify in the backend.
Expect does not seem to work for Terminal.Gui or do you need to do something special to get it to work?
Or how can this be achieved any advice's or examples where there are tests written?
itten?
Beta Was this translation helpful? Give feedback.
All reactions