I'm developing terminal app. And I'm wondering how can one test the terminal user interface made with ncurses. Does any one have some experience with this kind of testing?
So far my best shot will be to test app with capturing stdout and compare it with what it should be. But I'm concerned that i could never create the comparable case for every terminal size, text colors codes for (256bit,24bit), etc...
One way to test would be to simulate the keyboard but how could I test the visual behaivour?
I am clueless obout this problem...