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

Fail build on low coverage #1

Open
paulmckenzie opened this issue Aug 23, 2012 · 1 comment
Open

Fail build on low coverage #1

paulmckenzie opened this issue Aug 23, 2012 · 1 comment

Comments

@paulmckenzie
Copy link

I like SCCT but I need to be able to fail a maven build if the (multi-module) project code coverage falls below a configured limit.

I'm prepared to fork this repo and the main scct repo and do the work myself.

Is this something you could comment upon?

Regards
Paul

@mtkopone
Copy link
Owner

Hi,

That should be pretty simple, but requires changes to both scct and the maven plugin.

So basically, modifying scct:MultiProjectHtmlReporter to return the coverage percentage, and then having the maven plugin check that against an optionally set limit.

You are - of course - very welcome to contribute.

Cheers,

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

No branches or pull requests

2 participants