[Gambas-user] Tap parser in gb.test
Tobias Boege
taboege at gmail.com
Thu May 14 12:46:14 CEST 2020
On Thu, 14 May 2020, Benoît Minisini wrote:
> Hi Christof, Hi Tobias,
>
> So I have apparently a TAP parser inside 'gb.test'.
>
> How can I use it in the IDE to parse the TAP output so that I can present
> test results in a more readable way?
>
The parser class is hidden now, so it can only be used through the TestRunner
module. This takes a project directory, starts it under `gbx3 -T` and parses
the TAP output into a TestStats object... which I forgot to return from the
Run method. It will be available in a few minutes!
If you have TAP saved in a text file or something like that, there is no way
to parse it anymore. Also Christof is right in that the parser has a few TODO
items left, most notably it doesn't parse subtests yet. These holes should be
filled when the first thing that uses the parser is written, which is now?
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list