[Gambas-user] Using test interface for scripter testing

Christof Thalhofer chrisml at deganius.de
Wed Jun 24 11:15:52 CEST 2020

Am 23.06.20 um 09:56 schrieb Benoît Minisini:

>> If yes, consider opening a feature request. I vaguely remember everyone
>> agreeing that tests should *not* be included in "production" things.
> Mmm... yes I didn't really think about that.
> At the moment, test modules are included in the executable as any other 
> classes.
> It allows to test the executable using the '-T' interpreter option.
> But on the other hand you are providing your tests to the final user in 
> an executable bigger thant it should be. Maybe not a wanted thing...

I think the testclasses do no harm. In an average project they are
small. And it they exist they provide the benefit to test the executable
on a machine in production later.

For me I see no reason to remove them by default.

> I guess I should add one more option!

Yes, sure, why not.

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/20200624/0c3a9c63/attachment.sig>

More information about the User mailing list