Skip to content

Wrong Test coverage parsing

I use PHPUnit lib for get coverage value

1. Example RegEx ^\s*Lines:\s*\d+.\d+\% doesn't work because first symbol in pipelines output not \s. First symbol <

  1. \d in coverage RegEx doesn't work
  2. You have error in example RegEx ^\s*Lines:\s*\d+.\d+\%. != \.

I could get coverage value only <\s*Lines:\s*[0-9]*\.[0-9]*\% RegEx

2016-08-26_11-20-57