[Gambas-user] gb.test
Benoît Minisini
g4mba5 at gmail.com
Sat Jan 4 11:59:55 CET 2020
Le 04/01/2020 à 11:40, Christof Thalhofer a écrit :
> Hi Benoît. Thank you for the merge!
>
> One unresoved problem is: Testclasses (which inherit UnitTest) in any
> project have to be exported.
>
> The method Unittest.GetAllTestContainerNames() searches for Testclasses
> but does not find them if they are not exported and *as long as gb.test
> is a component*. Could you please have a look at the code and comment there?
>
> Alles Gute
>
> Christof Thalhofer
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
Hi,
Actually Class.Stat() can access any class, exported or not.
To get the list of classes in the current running project, you have to
browse the "..." directory. ("..." means the current project directory,
or the current executable).
That way, you should be able to find all classes that inherit UnitTest.
--
Benoît Minisini
More information about the User
mailing list