[Gambas-user] Using test interface for scripter testing
Christof Thalhofer
chrisml at deganius.de
Tue Jun 23 08:28:14 CEST 2020
Am 23.06.20 um 00:00 schrieb Brian G:
> I am including a sample app with test module for things I will need
> to do my testing. As you suggested I am capturing printed output,
> which works, but also seems to print into the test result file.
>
> Is there some better way to use test to test functions which produce
> printed messages.
Use a function that creates the message as string and test the output of
that function.
And then use that function in a method that prints.
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200623/8b739cf4/attachment.sig>
More information about the User
mailing list