odo icon indicating copy to clipboard operation
odo copied to clipboard

Setup interactive testing for windows

Open anandrkskd opened this issue 3 years ago • 1 comments

/area testing

Which functionality do you think we should add?

Currently, we don't have a working interactive testing framework on Windows. We need to enable the interactive testing for windows to increase the coverage of our tests.

anandrkskd avatar Mar 21 '22 05:03 anandrkskd

We are using github.com/kr/pty to create a pseudo tty to test the interactive mod, as github.com/kr/pty doesn't support creation of pseudo Windows tty, the more actively maintained forked lib github.com/creack/pty also doesn't support windows pty, there is PR to make support for it using ConPty. We can also try to use the ConPty directly for the test to create pty.

anandrkskd avatar Apr 22 '22 07:04 anandrkskd