This PR is a proposal to enable other go developers to generate CTRF json report for any tool they are writing (not gotest).
This would make this repository not be simply the gotest ctrf reporter but a ctrf support for go.
Here is what I did in this PR:
moved the data structures in a ctrf package
completed the data structures with missing fields regarding the ctrf json schema
fixed the gotest reporter elapsed to duration missing conversion (seconds to milliseconds)
Hello there,
This PR is a proposal to enable other go developers to generate CTRF json report for any tool they are writing (not gotest). This would make this repository not be simply the gotest ctrf reporter but a ctrf support for go.
Here is what I did in this PR:
ctrf
packageI added an example in the README.
Regards, Yann