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

Add code quality plugins to build.gradle (jacoco, findbugs) #2937

Merged
merged 1 commit into from
May 13, 2015

Conversation

davidmoten
Copy link
Collaborator

This is one thing I've missed for a while so I figured out how to get gradle to provide them. This PR enables production of Jacoco coverage reports and Findbugs reports as html in the build directory. It doesn't happen by default, the plugins are run like this (instructions in comments in build.gradle):

To run Findbugs:
./gradlew check

To run Jacoco test coverage:
./gradlew test jacocoTestReport

To run Jacoco on a single test:
./gradlew -Dtest.single=OperatorRetry test jacocoTestReport

Then open up the reports in build/reports.

@benjchristensen
Copy link
Member

Looks like reasonable additions, and safe since they don't affect normal builds.

Thanks.

benjchristensen added a commit that referenced this pull request May 13, 2015
Add code quality plugins to build.gradle (jacoco, findbugs)
@benjchristensen benjchristensen merged commit ecc2014 into ReactiveX:1.x May 13, 2015
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

Successfully merging this pull request may close these issues.

2 participants