Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Generating code coverage ?

    Hello,
    Since the past 2 days I tried to get my code coverage working with Sonar, and that still shows me 0% code coverage. Using Jacoco, there is a maven goal (jacoco:report) that generates an HTML page with code coverage and that tells me 0% too. So here is my question :
    How to write tests that actually generate some code coverage ? For example the display of some widgets or forms, filling fields...
    I'm using Selenium RC.

    Fact : I used a custom pattern to tell the surefire plugin to separate my tests. (**/Selenium*.java) Is it why it doesn't generate code coverage ? My tests are executed, returns ok. Could you please tell me if I'm doing something wrong ?

    Here is the code of my tests :
    https://gist.github.com/2894254

    (Those are just dumb tests to try if it works)

    #2
    Depado,

    Any luck on this ?

    Thanks.

    Comment

    Working...
    X