Skip to content

how to use qodo-cover in java_spring_boot project? #343

@Xsilicon-eric

Description

@Xsilicon-eric

In java_spring_boot demo, there is only mvn command. It means when we use qodo-cover, just replace the '--test-command=' to '--test-command=mvn test'.
But how to input the other command in the readme.md file?
which available is correct?

the cover-agent command demo for java is like this:
cover-agent
--source-file-path="src/main/java/com/davidparry/cover/SimpleMathOperations.java"
--test-file-path="src/test/groovy/com/davidparry/cover/SimpleMathOperationsSpec.groovy"
--code-coverage-report-path="build/reports/jacoco/test/jacocoTestReport.csv"
--test-command="./gradlew clean test jacocoTestReport"
--test-command-dir=$(pwd)
--coverage-type="jacoco"
--desired-coverage=70
--max-iterations=1

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