Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish test reports for Datalock chaincode tests #341

Open
hs2361 opened this issue Nov 4, 2021 · 0 comments
Open

Publish test reports for Datalock chaincode tests #341

hs2361 opened this issue Nov 4, 2021 · 0 comments

Comments

@hs2361
Copy link
Contributor

hs2361 commented Nov 4, 2021

PR #338 added in tests for the Datalock chaincode written in Go-lang. At the moment, test reports are published for the results of the tests of the TypeScript chaincode, with the help of the test-reporter Action. However, this Action does not yet provide support for Go tests. One option would be to contribute to this Action, and add a parser for the Go tests. This should probably be an easier option, since all the other components of using annotations and uploading the HTML report are already in place.

An alternative option which can be used is this go-test-report package, which takes in the test report as a JSON and creates an HTML report. However, publishing this report would require some work using the GitHub Checks API to properly add annotations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants