1.0.12 • Published 1 year ago

cobertura-diff-coverage v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

cobertura-diff-coverage

Requirements

  • Add cobertura as coverage reporter to jest configuration
  • Run git diff command prior to plugin execution:
git diff refs/remotes/origin/master...HEAD > diff.patch

Add the command to package.json

  "scripts": {
    "cdc": "cdc"
  },

Configure ci/cd:

  • Make sure your feature branch generate the cobertura.xml file using the coverage reporter "cobertura"
  • Run git diff command "git diff refs/remotes/origin/master...HEAD > diff.patch"
  • Run cdc command
  • Catch exit codes of cdc, 0 = coverage check passed, 1 = coverage check failed
1.0.11

1 year ago

1.0.12

1 year ago

1.0.9

2 years ago

1.0.10

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago