Is there a way to somehow output the testreport of a check? E.g. something like a junit.xml? I found a guide in the cookbook on how to do it for a func, but Checks have, afaik, only Container or String allowed as an output. But I would have thought executing unit tests would be a pretty typical use-case for checks, which is why I am asking.
#Checks with output testreport
1 messages · Page 1 of 1 (latest)
It not yet the case, but that's something we already discussed to add to the checks.
I would have thought executing unit tests would be a pretty typical use-case for checks
That's definitely one of the main use case of checks, even if there's a lot more.
We are also integrating the tests frameworks with telemetry, so have more visibility one the tests, even without to export a report, for instance with testctx in go, jest in javascript or pytest in python
Also, a check can return more than container and string, in fact it should return either an error (if Go) or any "syncable" object (like directory, file, service, changeset, etc). But their value, the object returned, will not be displayed or exported.
I see, this is where I took that information 😄