[Gambas-user] Unittest for Gambas

Christof Thalhofer chrisml at ...3340...
Fri Nov 11 08:31:12 CET 2016


Am 10.11.2016 um 05:36 schrieb Cam Era:

> nice work. Thanks. I'll be giving this a once over with me eye :-)
> 
> danke

Oh, thank you :-)

The unittests work well and reliable with every program or library and
if one has full control over every piece of Gambas code that uses these
libs.

But there is a caveat: If one wants to include a lib whith unittests in
it, the lib requires the unittest component to be installed in the
program, that uses the lib. Because every single test class has to have
a "Inherits ATestContainer" in it to work as expected.

Without the Unittest component installed Gambas won't start a program
that relies on that library.

That's bad. I searched and did not find a way around it. Therefor I see
the development of the unittest component beeing in alpha state.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20161111/b0fa6e6a/attachment.sig>


More information about the User mailing list