Commit 530eeacf authored by Evan Read's avatar Evan Read

Merge branch 'docs-codecoverage-dotnet' into 'master'

Add dotnet coverage example

See merge request gitlab-org/gitlab!54057
parents 8b2a91af 9f68a1e4
...@@ -134,7 +134,7 @@ averaged. ...@@ -134,7 +134,7 @@ averaged.
<!-- vale gitlab.Spelling = NO --> <!-- vale gitlab.Spelling = NO -->
| Coverage Tool | Sample regular expression | | Coverage Tool | Sample regular expression |
|------------------------------------------------|---------------------------| |------------------------------------------------|-----------------------------------------------|
| Simplecov (Ruby) | `\(\d+.\d+\%\) covered` | | Simplecov (Ruby) | `\(\d+.\d+\%\) covered` |
| pytest-cov (Python) | `^TOTAL.+?(\d+\%)$` | | pytest-cov (Python) | `^TOTAL.+?(\d+\%)$` |
| Scoverage (Scala) | `Statement coverage[A-Za-z\.*]\s*:\s*([^%]+)` | | Scoverage (Scala) | `Statement coverage[A-Za-z\.*]\s*:\s*([^%]+)` |
...@@ -146,6 +146,8 @@ averaged. ...@@ -146,6 +146,8 @@ averaged.
| `mix test --cover` (Elixir) | `\d+.\d+\%\s+\|\s+Total` | | `mix test --cover` (Elixir) | `\d+.\d+\%\s+\|\s+Total` |
| JaCoCo (Java/Kotlin) | `Total.*?([0-9]{1,3})%` | | JaCoCo (Java/Kotlin) | `Total.*?([0-9]{1,3})%` |
| `go test -cover` (Go) | `coverage: \d+.\d+% of statements` | | `go test -cover` (Go) | `coverage: \d+.\d+% of statements` |
| .Net (OpenCover) | `(Visited Points).*\((.*)\)` |
| .Net (`dotnet test` line coverage) | `Total\s*\|\s*(\d+\.?\d+)` |
<!-- vale gitlab.Spelling = YES --> <!-- vale gitlab.Spelling = YES -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment