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

Establish a pattern for a unit testing quality gate for components #10

Open
Tracked by #3
davgordo opened this issue Jul 18, 2024 · 0 comments
Open
Tracked by #3
Assignees

Comments

@davgordo
Copy link
Contributor

davgordo commented Jul 18, 2024

We can use a simple Spring Boot example as a starting point here:
https://github.com/contract-first-idp/java-unit-test-prototype

We can assume Java+Maven. Jacoco should likely be the coverage report tool, but open to other options.

Acceptance criteria:

  • develop a Java service prototype pipeline with a step that executes unit tests
  • configure code coverage to be generated when unit tests are executed
  • pass/fail tekton build based on meeting coverage ratio minimum requirement (suggestion: 60%)
@davgordo davgordo moved this from Backlog to In progress in Contract-First IDP Solution Aug 6, 2024
@davgordo davgordo moved this from In progress to In review in Contract-First IDP Solution Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants