a7ex / xcresultparser

Parse the binary xcresult bundle from Xcode builds and testruns
MIT License
98 stars 28 forks source link

Corrupted data in txt results if run UI tests simultaneously on two devices #17

Closed alexnot95 closed 1 year ago

alexnot95 commented 1 year ago

If run tests simultaneously on 2 devices for example we run tests on iPhone + iPad simultaneously, and as I understood the xcresult structure will be different from the run on 1 device, so txt results will be corrupted (it contains wrong failed tests count + doesn't contain any data about failed tests and locales)

Screenshot 2023-05-16 at 17 07 16

and txt result after run the command: xcresultparser -o txt -s failed -f result.xcresult > results.txt

Screenshot 2023-05-16 at 17 09 19
alexnot95 commented 1 year ago

Hi @a7ex sent you xcresult file with such structure for debugging

a7ex commented 1 year ago

Hi Alexey, thanks. But please bear with me, that I do have a day job, which has precedence. As soon as I have some spare time, I will look into it. But you must also understand, that this is a side project and that I can not solve all your problems. This is an open source project and you are of course very welcome to contribute changes or even fix bugs yourself and create a PR.

alexnot95 commented 1 year ago

Hi Alexey, thanks. But please bear with me, that I do have a day job, which has precedence. As soon as I have some spare time, I will look into it. But you must also understand, that this is a side project and that I can not solve all your problems. This is an open source project and you are of course very welcome to contribute changes or even fix bugs yourself and create a PR.

yeah, got it, thank you anyway

a7ex commented 1 year ago

Thank you for being considerate

a7ex commented 1 year ago

I looked into the issue. I am not getting any data from XcresultKit for your xcresult file. xcresultparser is just a wrapper around XcresultKit (https://github.com/davidahouse/XCResultKit) If I don't get data from XcresultKit, there is nothing I can do about it.