Skip to content

Commit 7d18769

Browse files
authored
Merge pull request #2445 from coverage-robot/feature/add-go-cover-coverage-format-contract
[Part 1] Add the Go Cover coverage format contract
2 parents 3b84514 + e3d2f44 commit 7d18769

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/contracts/src/Format/CoverageFormat.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@ enum CoverageFormat: string
2424
* - Cypress
2525
*/
2626
case CLOVER = 'CLOVER';
27+
28+
/**
29+
* Coverage which originated from the Go CLI using the
30+
* Cover flag.
31+
*
32+
* @see https://go.dev/blog/integration-test-coverage
33+
*/
34+
case GO_COVER = 'GO_COVER';
2735
}

0 commit comments

Comments
 (0)