[Gambas-user] gb.test
Christof Thalhofer
chrisml at deganius.de
Wed Jan 15 00:21:05 CET 2020
Hello Benoît,
Am 05.01.20 um 11:20 I wrote:
> *But this is not the main problem.*
>
> The main problem in my opinion is that Class.Load(sName) in
> GetAllTestContainerNames only works if the testclasses are exported and
> so these are visible and callable later on when the project is in
> production. I don't like that.
>
> There IMO we need a new form of class a la classname.test which is
> handled by the interpreter/compiler in a different way.
>
> My idea was, that not the IDE tests but the executable itself is able to
> test itself when compiled with debugging symbols and called in a special
> way.
>
> If you create and call unittesthelloworld.gambas you can see what I mean.
Or can we create something like a "gbt3" executable that finds all tests
in a project and executes them?
I need that in future for automatic testing of Gambas programs before
deployment.
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/20200115/69c888ab/attachment.sig>
More information about the User
mailing list