Skip to content

Clover selector doesn't generate any test for xwiki-commons-component-default #588

@vmassol

Description

@vmassol

I tried the clove selector on xwiki-commons/xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default with java -jar /Users/vmassol/dev/dspot/dspot/target/dspot-1.1.1-SNAPSHOT-jar-with-dependencies.jar --path-to-properties dspot.properties --test-criterion CloverCoverageSelector --verbose --generate-new-test-class --with-comment and was surprised that it didn't generate any test. Especially since when executed with the jacoco selector it does generate new tests (19 new tests to be precise).

I understand that the clover selector increases branch coverage while the jacoco one increases instruction coverage. Is that the reason or is there another problem?

I'm attaching the output dir.

output.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions