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

plugin not creating test specific coverage tasks #142

Open
vaidsu opened this issue Aug 12, 2020 · 1 comment
Open

plugin not creating test specific coverage tasks #142

vaidsu opened this issue Aug 12, 2020 · 1 comment

Comments

@vaidsu
Copy link

vaidsu commented Aug 12, 2020

Hi Team,

I have a task called utilTest

task utilTest(dependsOn: testClasses, type: Test, group: 'verification') {
  include 'com/a/b/**'
}

My assumption is this will create reportUtilTestScoverage

But seems like it didn't

Verification tasks
------------------
check - Runs all checks.
checkScoverage
integrationTest
reportScoverage
test - Runs the unit tests.
testScoverage
utilTest <--- Nothing

Please kindly help.

@eyalroth
Copy link
Contributor

Your assumption is correct.

If you're not even seeing utilTest in the task list, then perhaps it not defined correctly (regardless of scoverage), or perhaps it is a task of a subproject (if you have a multi-module project).

In any case, it's a bit hard to tell what's wrong with so little information. Could you attach more of the build configuration?

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