[Gambas-user] Coming back to gb.test
Christof Thalhofer
chrisml at deganius.de
Thu May 7 09:05:20 CEST 2020
Am 07.05.20 um 08:23 schrieb Benoît Minisini:
> And 'gbx3 -T' calls Test.Main("")
>
> If I run 'gbx3 -T' on 'gb.test' project, I get :
>
> --8<--------------------------------------------
> TestCase TestBailout:TestBailout
> # This will stop all testing immediately
> # Unwinding subtest stack!
> 1..0
> not ok 14 - TestBailout:TestBailout
> Bail out! Bo-Test
gb.test has tests that fail, especially BailOut, so it will fail if you
run all tests. If you want it to test ok you have to use
gbx3 -T "TestAllAsserts, TestElse, TestError, TestInternals,
TestFailures, TestSetup, TestSummary.DoSomeAsserts, TestSummary.DoTodo,
TestSummary.DoSkip"
> gbx3: warning: circular references detected:
> gbx3: 1 TestSuite
> gbx3: warning: 126 allocation(s) non freed.
> --8<--------------------------------------------
>
> at the end. Is it normal?
This is not nice, it should Bailout and do Quit 1 without the circular
references warning. I am not sure where they are coming from.
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/20200507/2c9b79bb/attachment.sig>
More information about the User
mailing list