[Gambas-user] gb.test and gb.test.tap

Christof Thalhofer chrisml at deganius.de
Wed Mar 11 08:30:07 CET 2020


Am 10.03.20 um 23:21 schrieb Christof Thalhofer:

>> IMO, gb.test may or may not use gb.test.tap, but gb.test.tap should not
>> depend on gb.test.
> 
> I agree.
> 
> Hmm ok, but please write a piece of code that does what the old gb.test did:
> 
> * Test itself and let us step through the assertions while debugging it.
> This is important! Assertions can be buggy, they look simple but it is a
> testing system that tests a lot of other projects in future so it has to
> be rock stable!
> 
> * Output the result of a single assertion immediately, not after all
> tests are done.

I forgot:

* Report all 11 assertions in TestFailures as "not ok".


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/20200311/bb26d57e/attachment.sig>


More information about the User mailing list