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

Produce Sonarqube formatted output for test results. #150

Open
FALLAI-Denis opened this issue Oct 14, 2021 · 3 comments
Open

Produce Sonarqube formatted output for test results. #150

FALLAI-Denis opened this issue Oct 14, 2021 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@FALLAI-Denis
Copy link

FALLAI-Denis commented Oct 14, 2021

Hi,

Cobol Check produces its results in an formatted but not structured form, equivalent to a report.

We want to consume the results of Cobol Check in other tools, in particular Sonar, and for this it is necessary that the test results are easily identifiable, and therefore returned in a structured way.

The way to render structured results could be an XML document (it is not necessary to use COBOL XML-GENERATE commands for this, simple DISPLAY or WRITE on a file may do).
This XML document can then be reworked to adapt to the tool that uses the results of Cobol Check, (XSLT script).

Ideally, this XML document could use the format supported by Sonar.
See https://docs.sonarqube.org/latest/analysis/generic-test/

@neopragma neopragma added enhancement New feature or request good first issue Good for newcomers labels Oct 17, 2021
@samdion1994
Copy link
Collaborator

samdion1994 commented Dec 7, 2021

Hi,

Love the projet and I'm looking forward to installing this in our z/OS pipelines in my organisation !!

I'm currently working on this ! Letting you guys know when I'm done.

I've also already covered the DB2 part.

@neopragma, Do i just do a pull request?

cheers :)

@Rune-Christensen
Copy link
Collaborator

Hi @samdion1994
Yes please just do a pull request.
If you will be contributing a lot, we can give you access to merging your pull requests.
cheers :-)
/Rune

@dakaa16
Copy link
Collaborator

dakaa16 commented Feb 23, 2022

Hi @FALLAI-Denis I just merged pull request #177, which makes it possible to have your test results formatted as xml. Currently the only formatting option for xml is the JUnit format. It should however be easy to add other formats, like the one for Sonar that you suggested.

@dakaa16 dakaa16 changed the title Produce formatted output for test results. Produce Sonarqube formatted output for test results. May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants