Commit 4d1116ef authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'coverage-parsing-examples' into 'master'

Tweak coverage parsing examples

See merge request gitlab-org/gitlab-ce!26732
parents e929fc1b 0dad0e6d
...@@ -101,18 +101,21 @@ ...@@ -101,18 +101,21 @@
%li %li
tap --coverage-report=text-summary (NodeJS) - tap --coverage-report=text-summary (NodeJS) -
%code ^Statements\s*:\s*([^%]+) %code ^Statements\s*:\s*([^%]+)
%li
nyc npm test (NodeJS) -
%code All files[^|]*\|[^|]*\s+([\d\.]+)
%li %li
excoveralls (Elixir) - excoveralls (Elixir) -
%code \[TOTAL\]\s+(\d+\.\d+)% %code \[TOTAL\]\s+(\d+\.\d+)%
%li
mix test --cover (Elixir) -
%code \d+.\d+\%\s+\|\s+Total
%li %li
JaCoCo (Java/Kotlin) JaCoCo (Java/Kotlin)
%code Total.*?([0-9]{1,3})% %code Total.*?([0-9]{1,3})%
%li %li
go test -cover (Go) go test -cover (Go)
%code coverage: \d+.\d+% of statements %code coverage: \d+.\d+% of statements
%li
nyc npm test (NodeJS) -
%code All files[^|]*\|[^|]*\s+([\d\.]+)
= f.submit _('Save changes'), class: "btn btn-success" = f.submit _('Save changes'), class: "btn btn-success"
......
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