odo
odo copied to clipboard
Setup interactive testing for windows
/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.
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.