kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Configure backend test coverage for sonar via jacoco

Open MichaelGonzalezMurillo opened this issue 2 years ago • 3 comments

  • [ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview) Fixes #1537

Is there anything you'd like reviewers to focus on?

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • [ ] No need to
  • [x] Manually (please, describe, if necessary)
  • [ ] Unit checks
  • [ ] Integration checks
  • [ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
  • [x] My changes generate no new warnings (e.g. Sonar is happy)
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [x] Any dependent changes have been merged

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged)

MichaelGonzalezMurillo avatar Sep 08 '22 22:09 MichaelGonzalezMurillo

Screen Shot 2022-09-08 at 3 59 13 PM

Screen Shot 2022-09-08 at 4 51 48 PM

MichaelGonzalezMurillo avatar Sep 08 '22 22:09 MichaelGonzalezMurillo

Screen Shot 2022-09-12 at 2 52 31 PM

MichaelGonzalezMurillo avatar Sep 12 '22 20:09 MichaelGonzalezMurillo

[INFO] Check ALM binding of project 'com.provectus:kafka-ui_backend' [INFO] Detected project binding: NOT_BOUND

[INFO] Check ALM binding of project 'CronFire_kafka-ui' [INFO] Detected project binding: BOUND

Jacoco reports are being well generated but since the project is not bounded the results are not being send correctly.

Code wise we should be ok.

MichaelGonzalezMurillo avatar Sep 13 '22 19:09 MichaelGonzalezMurillo