Message277047
Steve Dower (steve.dower)
> [...]
> Anything else requires a real console with a real person with a real keyboard.
FYI, not really, it is possible to fully automatically test console's output/input using WinAPI functions like WriteConsoleInput, GetConsoleScreenBufferInfo, ReadConsoleOutputCharacter
very recently I wrote such test, you can look at it as example http://review.source.kitware.com/gitweb?p=KWSys.git;a=blob;f=testConsoleBuf.cxx;hb=HEAD
it tests all 3 cases when output is actual console, redirected pipe and file. |
|
Date |
User |
Action |
Args |
2016-09-20 17:11:07 | davispuh | set | recipients:
+ davispuh, lemburg, mhammond, terry.reedy, paul.moore, tzot, amaury.forgeotdarc, ncoghlan, pitrou, giampaolo.rodola, tim.golden, mark, ned.deily, christoph, ezio.melotti, v+python, hippietrail, flox, davidsarah, santoso.wijaya, akira, David.Sankel, python-dev, smerlin, lilydjwg, berker.peksag, martin.panter, piotr.dobrogost, eryksun, Drekin, steve.dower, wiz21, stijn, Jonitis, gurnec, escapewindow, dead1ne |
2016-09-20 17:11:07 | davispuh | set | messageid: <1474391467.19.0.122942640525.issue1602@psf.upfronthosting.co.za> |
2016-09-20 17:11:07 | davispuh | link | issue1602 messages |
2016-09-20 17:11:07 | davispuh | create | |
|