It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

junit tests written in groovy don't show up in Test Run Explorer

Alin Simionoiu Jul 08, 2015

in the latests version of clover (4.0.4) for eclipse i can't figure out how to get junit4 unittests written in groovy to show up in Test Run Explorer or Test Contributions. Is this a known issue or i'm missing something?

i do have the groovy junit4 tests instrumented by changing the "Source Files" and "Test Classes" properties to include **/*.groovy for sources and **/*Test.groovy,**/Test*.groovy for tests. i can also see the instrumented marker next to the groovy classes in Package Explorer

1 answer

0 votes
Grzegorz Lewandowski Atlassian Team Jul 09, 2015

Hey Alin,

Groovy compilation is not supported in IDE integrations (Eclipse, IntelliJ IDEA), so it's not possible to see Groovy classes or tests in Clover views. Groovy support is only available in build automation tools integration like AntMavenGrails

It's possible however to see Groovy code coverage in Coverage Explorer view (and only there) after integration project with Ant/Maven/Grails, instrumenting the code by it and then specifying generated in such way clover.db in the Eclipse settings window.

 

Similar question for reference:

 https://confluence.atlassian.com/display/CLOVER/Supported+Platforms Groovy section

https://answers.atlassian.com/questions/207543

 

 

Best regards,

Grzegorz Lewandowski 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

72 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you