Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1011

Coverage data not showing up in Intellij

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Highest Highest
    • won't fix
    • 3.1.0, 3.1.1
    • CIJ Plugin
    • None
    • Intellij IDEA 10.5.1, OSX.

      I've got the dev build from CLOV-1004, which worked for Intellij 10.3 but since I upgraded to 10.5.1, neither the latest public rev (3.1.0.v20110608114626-dev) nor the dev version of the plugin from CLOV-1004 works.

      In the projects view, it looks like the code is instrumented. But after I run a test, no coverage information is displayed. When I explicitly update the clover database, nothing is updated. The "Test Runs" view behaves as if I never ran a test.

            [CLOV-1011] Coverage data not showing up in Intellij

            Owen made changes -
            Workflow Original: New Clover Workflow [ 897667 ] New: New Clover Workflow - Restricted [ 1474332 ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 895466 ] New: New Clover Workflow [ 897667 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 305887 ] New: Clover Workflow [ 895466 ]
            Marek Parfianowicz made changes -
            Fix Version/s New: won't fix [ 38394 ]
            Fix Version/s Original: 3.1.8 [ 27910 ]
            Marek Parfianowicz made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            Hi Marek,
            I do tend to use the maven compile goal, but given your feedback, I have since stopped doing this and life is great with intellij and clover. Thanks so much...this has really helped my development every day!

            Andrew Zimmer added a comment - Hi Marek, I do tend to use the maven compile goal, but given your feedback, I have since stopped doing this and life is great with intellij and clover. Thanks so much...this has really helped my development every day!

            Hi Andrew, does this problem still occurs on your environment? I was not able to reproduce it. Do you have some sample project showing the problem (source files + pom.xml + .iml/.ipr/*.iws files)? Is there any change that you were using IBM JRE? There is one bug related with coverage which was fixed recently - CLOV-1151.

            Marek Parfianowicz added a comment - Hi Andrew, does this problem still occurs on your environment? I was not able to reproduce it. Do you have some sample project showing the problem (source files + pom.xml + .iml/.ipr/*.iws files)? Is there any change that you were using IBM JRE? There is one bug related with coverage which was fixed recently - CLOV-1151 .
            Marek Parfianowicz made changes -
            Fix Version/s New: 3.1.8 [ 27910 ]
            Fix Version/s Original: 3.1.7 [ 26195 ]

            I'm rescheduling this issue to 3.1.8 as 3.1.7 version is going to be released this week.

            Marek Parfianowicz added a comment - I'm rescheduling this issue to 3.1.8 as 3.1.7 version is going to be released this week.

            Hi Andrew,

            I mentioned on 1st of August that I reproduced a problem. However my further tests showed that it was due to some class clashing in IDEA debug mode. So it seems that on IDEA11 it still works - i.e. as long as you compile using IDEA Javac/Javac-in-process compiler (instead of running Maven 'compile' goal) and as long as you use JUnit Runner / TestNG Runner from IDEA (instead of running Maven 'test' goal) - coverage is being refreshed correctly in both "Cloverage" view and source code editors.

            Would you be able to prepare and attach some sample project showing the problem (source files + pom.xml + .iml/.ipr/*.iws files)? It would be great to get a screen recording showing your actions in IDEA IDE too.

            Regards
            Marek

            Marek Parfianowicz added a comment - Hi Andrew, I mentioned on 1st of August that I reproduced a problem. However my further tests showed that it was due to some class clashing in IDEA debug mode. So it seems that on IDEA11 it still works - i.e. as long as you compile using IDEA Javac/Javac-in-process compiler (instead of running Maven 'compile' goal) and as long as you use JUnit Runner / TestNG Runner from IDEA (instead of running Maven 'test' goal) - coverage is being refreshed correctly in both "Cloverage" view and source code editors. Would you be able to prepare and attach some sample project showing the problem (source files + pom.xml + .iml/ .ipr/*.iws files)? It would be great to get a screen recording showing your actions in IDEA IDE too. Regards Marek

              mparfianowicz Marek Parfianowicz
              1561992a889b Andrew Zimmer
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: