I ran phpunit with code coverage in order to see which ones of my classes are less tested.
I arbitrarily excluded some folders such as DataFixtures
(Doctrine fixtures) and Admin
(Sonata Admin classes) and this is the result:
I noticed that the Entity
folder is all in red but it contains only classes with a lot of standard getters and setters. Same thing for the Model
folder.
How can I test them without ignoring?