PHPunit @before Annotations and traits for code-reuse (Whitewashing)

0

Quelle: http://www.whitewashing.de/2015/02/14/phpunit_before_annotations_and_traits_for_code_reuse.html
Im Bonner Blog Whitewashing weiterlesen… PHPunit @before Annotations and traits for code-reuse I have written about why I think traits should be avoided. There is a practical use-case that serves me well however: Extending PHPUnit tests. The PHPUnit TestCase is not very extendable except through inheritance. This often leads to a weird, deep inheritance hierachy […] Im Bonner Blog Whitewashing weiterlesen…

Keine Beiträge vorhanden