Novelty Promotes Magicians

    test-coverage-badge

    1.2.0 • Public • Published

    test coverage badge

    CI codecov

    create coverage badge by parsing test coverage reports.

    Usage

    format

    npx test-coverage-badge --format clover \
      ./coverage/clover.xml
    npx test-coverage-badge --format jacoco-xml \
      ./build/reports/jacoco/test/jacocoTestReport.xml

    output format

    png(default):

    image

    text:

    npx test-coverage-badge --format jacoco-xml \
      --output-format text \
      ./build/reports/jacoco/test/jacocoTestReport.xml
    80%
    

    Install

    npm i test-coverage-badge

    DownloadsWeekly Downloads

    33

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    27.8 kB

    Total Files

    15

    Last publish

    Collaborators

    • sinkcup