dimanche 21 décembre 2014

Bootstrapping a new php project using composer and phpunit

I want to startup a new php project using phpunit and composer. I want to be able to run my testsuite using the composer generated autoload to bootstrap phpunit.


I have followed some instruction regarding that, and tried to configure a simple project here: http://ift.tt/1zQybNh


When I run the testsuite test classes can't find project classes under the lib dir, despite I have written in the composer.json a directive to generate a psr-4 autoload for that.


What am I missing?


Aucun commentaire:

Enregistrer un commentaire