Hello Marc, sorry for late response.
Its took me some time to come up with example.
Let me explain you my problem.
[image: sample.png]
in the above pic, which is marked in black color is the actual business
code and unit test is marked in red color. And Cucumber(BDD) tests are
marked in blue
On Monday, December 17, 2018 at 7:22:41 PM UTC+1, raj.seleni...@gmail.com
wrote:
>
> Here my question is... where should I change the configuration to consider
> the tests which are under *src/cucumber/java.*
> Please find the attached pom.xml for more details.
>
pom.xml alone in absence of
all these tests are executed successfully.
I tried profile using "clean install -P acceptance-tests" but did not go
well.
Here is the code for ref.
https://github.com/rajselenium3/jacoco
-Raj
On Tuesday, December 18, 2018 at 2:30:31 AM UTC+5:30, Evgeny Mandrikov
wrote:
>
>
>
> On
thanks for the explaination.
Debuging does not give me much details, however i had updated the task
script by adding some println as below:
additionalSourceDirs = files(subprojects.sourceSets.main.allSource.srcDirs)
println additionalSourceDirs.size()
println additionalSourceDirs.empty
found the issue. it was with the path of the dirs and the file which i
mentioned in my task script.
i can see the reports with proper coverage.
thanks mandrikov for the help.
now i had updated to the below :
additionalSourceDirs = files(sourceSets.main.allSource.srcDirs)
sourceDirectories =
Evgeny Mandrikov wrote:
> To help us consider addition of such feature and its design,
> please just add comment with links to other plugins that you provided
> earlier in this thread.
Done: https://github.com/jacoco/jacoco/issues/271.
Also mentioned having a separate goal (test-report) as an
Thanks Mandrikov for the reply,
as mentioned above, the exec file that was generated was used to generate
the coverage report using the Intellji feature, where i could see the
reports looking good. with this , i am assuming that classes should be
there to analyze. please correct me if my
class files are not stored inside exec-file,
location of class files used by IDE
can be different
from location of class files used by Gradle build,
and is actually different as shown on below screenshot,
And once again:
since you have trouble with generation of report using Gradle task, then