Re: Re: Two Tier, call_ str_ fix

"Mark Hahn" <[email protected]> Wed, 14 Jul 2004 14:32:49 -0700
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Michael Geary wrote:
>> From: Mark Hahn
>> Now I know how this got through testing.  It is a
>> console bug.  It doesn't happen in scripts.  I should
>> find some way to automate regression testing in
>> the console.
>
> TestComplete is very good:
>
> http://www.automatedqa.com/products/tc.asp

I downloaded TestComplete.  I don't know if I can handle learning another
scripting language in the midlle of dealing with Prothon.  It also seems
like overkill not to mention it costs money.

I think it would be worth my while to figure out how to add a library to
Prothon to drive a console as a unit-under-test and do it from Prothon. It
would be a better use of my time to add something to Prothon instead of
learning another tool.

Anyone have any clue how to drive a console as a unit-under-test?  How do I
replace a win32 process's stdin/stdout without the prcoess code knowing
about it?

I guess I could replace it from the inside of the console code but that
wouldn't be a true test.