[Gambas-user] Crash with latest version
Jussi Lahtinen
jussi.lahtinen at gmail.com
Wed Feb 10 19:39:10 CET 2021
>
> Sorry, I told you rubbish, there is a bug in the automatic conversion
> routine. I fix it, and everything will be correct.
>
OK, no problem.
Would it be possible for you to modify your test program by adding log
> messages about what is tested actually, at each step? With a unique test
> identifier?
>
> For example, maybe you can make test groups and sub-groups, and use as
> identifier something like "1.1.1, 1.1.2, 1.1.3, 1.2, 1.3, 2.1" and so on.
>
> (I'm not sure I am very clear...)
>
> The test program would just print:
> Test 1.1.1... OK
> Test 1.1.2... OK
> Test 1.1.3... OK
> Test 1.2... OK
> Test 1.3... FAIL!
>
Right now it will give a line number of the test(s) that does fail. And OK,
if none of the tests fails.
This was chosen, because it is very quick to implement (and check the
results). And it really is one ugly mess, never quite intended to be a set
of clean separated tests.
Some of the tests are from previous crashes, some are just weird and/or bad
code to provoke possible problems. It would be huge work
and I don't quite see it is worth the trouble. If anything, I should add a
bit more stuff into it.
The data folder has two files that contain the tested keywords, if that is
the concern.
You can even use the standard format used by 'gb.test' component.
>
> (I even guess Christof would tell you that it should be rewrite as a
> 'gb.test' test suite!)
>
If I remember correctly, the test suite has flaw that make me not want to
use it.
It does run the tests as separate processes..? That greatly increases
chances that possible side-effects will *not* be exposed.
Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210210/cfdd3b77/attachment.htm>
More information about the User
mailing list