Hey Stale,
Thanks much! I got things working I think. But take a look at AeshAddonTest. I have
implemented a naive wait system so that the test can assert on output, but this isn't
idea.
One idea I had was: you could pass some input, and provide a callback that waits for the
shell to return a status code for the given command, but I don't think this would be
very robust.
I know you had some ideas about how to do shell testing well, so perhaps you can look at
what I've done and comment.
Also, it looks like Console never returns the result (there is no way to verify the
result) of "readConsoleOutput()" in ConsoleCallback.
Thoughts about this would also be appreciated!
Thanks Stale :) We can sit together on this Monday,
Lincoln
----- Original Message -----
From: "Ståle W. Pedersen" <spederse(a)redhat.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Sent: Friday, May 3, 2013 2:37:31 PM
Subject: testshellconfiguration
hi, i didnt see you on irc and im about to call it a weekend. i tried
your latest changes and from what i can see the TestShellConfiguration
isnt picked up in the AeshAddonTest. i havent managed to see why, but a
sign is that the terminalsettings are not reset when you run the test
with maven. - the terminal will not display any chars until you press
enter.
i think ill have more time on monday to look at f2
have a nice weekend!
ståle
Show replies by date