[Gambas-user] Coming back to gb.test

Christof Thalhofer chrisml at deganius.de
Mon Apr 6 12:00:32 CEST 2020


Am 06.04.20 um 09:57 schrieb Christof Thalhofer:

> Haha, but we first have to discuss for half a year which the
> alternatives are, Benoît has to decide between.

Ok, AFAICS we can boil this thing down into two alternatives:

1) gb.test as a monolith which tests a project, does accounting and
prints TAP by itself. It tests its entire functionality by itself. It
contains the printing and accounting functionality of current
gb.test.tap. In this szenario gb.test.tap does TAP parsing, but
independent of gb.test. TAP itself is the interface between the two.

2) gb.test tests a project, but depends on gb.test.tap, which provides
the printing functionality and does accounting. gb.test and gb.test.tap
share Assert as interface. gb.test's Assert inherits Assert from
gb.test.tap which provides Ok, Diag, Skip, Todo and BailOut. gb.test.tap
also does TAP parsing.

Right?


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/20200406/dd4d1e35/attachment.sig>


More information about the User mailing list