[Gambas-user] Coming back to gb.test
Benoît Minisini
g4mba5 at gmail.com
Thu May 7 08:36:42 CEST 2020
Le 07/05/2020 à 08:23, Benoît Minisini a écrit :
> Le 07/05/2020 à 07:30, Benoît Minisini a écrit :
>>
>> Hi,
>>
>> 'gbt3'should be removed in its current form: it has too many hacks
>> (recompiling the target project!) that do not work in all cases.
>>
>> First, support for running 'Test.Main(<test list>)' directly in the
>> interpreter must be added.
>>
>> I will do that and tell you.
>>
>> Then 'gbt3' will be able to be rewritten correctly (and with less
>> lines of code).
>>
>> Regards,
>>
>
> This is done.
>
> $ gbx3 -T TestA,TestB,TestC
>
> now calls Test.Main("TestA,TestB,TestC")
>
> 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
> gbx3: warning: circular references detected:
> gbx3: 1 TestSuite
> gbx3: warning: 126 allocation(s) non freed.
> --8<--------------------------------------------
>
> at the end. Is it normal?
>
Is 'gbt3' really needed now? Can we remove it?
--
Benoît Minisini
More information about the User
mailing list