IBM-Blockchain-Starter-Kit / chaincode-bootstrap

https://ibm-blockchain-starter-kit.github.io/
Apache License 2.0
3 stars 11 forks source link

Generate test report in XML for consumption of the TEST stage. #20

Open rolivieri opened 6 years ago

rolivieri commented 6 years ago

In a custom pipeline for my current blockchain MVP, I managed to leverage https://github.com/jstemmer/go-junit-report to transform the output from executing go test into a JUnit/XML format that can be consumed by the TEST stage in a DevOps pipeline on the IBM Cloud.

We should incorporate this logic at some point (I can help with that). Here's how our test report looks after incorporating such functionality into our pipeline scripts:

screen shot 2018-07-11 at 4 17 35 pm

yorhodes commented 6 years ago

There is no documented way to configure this test report using a custom toolchain template (in the pipeline.yml file). @jorgedr94 is reaching out to an internal team to see if this is possible to automatically configure.