I have to build an application using Maven for PHP that has multiple modules. The scenario in which the maven seems to not work is this: I have a common module and a client module depending on the first one.
When doing "mvn test" on the client module which depends on the common module, the test fails to see the paths to the common module...
When running the "mvn test" command, the PHPUnit tests are run.
The problem I have is that the setUpBeforeClass() method within a test class is not called when running the tests from maven.
Does anybody know the problem? I use the last version of PHPUnit (3.3.9) available on repositories.
...
I want to use Maven for PHP with PHPUnit but when I run my tests with "mvn test" I get this error: http://pastie.org/948377
This happens only when I use a version newer than 3.3.9 for PHPUnit. The tests work just fine with PHPUnit 3.3.9.
Any idea?
...
I have an application consisting of many scripts doing some stuff on their own. I want to modify it's structure using Maven for PHP with multiple modules, a common module and a lot of client modules depending on the common one.
I use the PHPUnit for testing and I run the tests from maven with "mvn test". So when running the tests maven i...