Saturday, September 22, 2012

Code coverage - ingore tags doesn't work

Hi,

I'm trying to write some unit tests for my project and I'd like to exclude part of the code from code coverage report. I've tried to use "// @codeCoverageIgnoreStart" and "// @codeCoverageIgnoreEnd" in controller which I've been testing, but it doesn't work.

I use PHPUnit: 3.6.12.

Have you guys ever tried to use those tags in Cake projects?

-- 
Rafal

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: