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 color.
when I go with *maven clean install *its considering only unit tests which 
are under *src/test/java. *

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.
 
Thanks
Raj

On Wednesday, November 28, 2018 at 3:27:27 AM UTC+5:30, Marc R. Hoffmann 
wrote:
>
> Hi Raj,
>
> the question is: are these unit tests executed?
>
> JaCoCo has no idea about JUnit or any other framework. It simply records 
> the execution of all classes loaded into the JVM.
>
> Regards,
> -marc
>
>
> On 27. Nov 2018, at 18:51, raj.se...@gmail.com <javascript:> wrote:
>
>
> Hello,
>
> all my unit tests are out side of src/test/java. In this case, does Jacoco 
> recognize my unit tests? 
> plz help me in this regard.
>
> -Raj  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jacoco+un...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/e8390fcf-eb87-4a5d-bbd3-949b48a4b32a%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/e8390fcf-eb87-4a5d-bbd3-949b48a4b32a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/4bf45085-8ff3-46fb-bf93-3c756efca644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: pom.xml
Description: XML document

Reply via email to