bimtester, key missing in json report
somehow a key is missing in the json report. On windows everything runs smooth. On Linux Debian Buster I have some problems. In the json report in elements the status key is missing ... I have no idea ...
I will attache both files ...
Comments
on a diff it can be seen just the status line is missing. Because of this I get a error on html report generation. I could comment the line but than the status in html report is wrong.
I have no idea where to look for debugging? On both machines I did run exact the same tests on the same code base ...
On windows I run behave 1.2.6
On Buster I run behave 1.2.5
someone else here who uses bimteser?
https://behave.readthedocs.io/en/latest/new_and_noteworthy_v1.2.6.html does not mention anything in this regard.
But found something interesting anyway which is new in 1.2.7
"Runner: Can continue after a failed step in a scenario"
I need to know how to trigger this. But this is another story.
Can you try upgrade to the latest Behave and see if that fixes it?
As for continuing after a failed step, it should be implemented by default: https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcbimtester/features/environment.py#L5
version 1.2.6 fixes the problem. It works on Linux and windows for me :-)
great, but does not work for me as I would expect. But may be it is me. I need to look into this.
yep it was me. Works as it should be. I did ignore the environment module. But this is great stuff.