1

I'm using Michael Romer's fantastic ZF-Boilerplate and have hit a snag when testing.

When I view the code coverage reports, it only shows the code coverage for the actual unit tests, not for the code being tested.

I've looked high and low for instances of this happening, but can't find anything. As far as I can see, the phpunit.xml (https://github.com/michael-romer/zf-boilerplate/blob/master/tests/phpunit.xml) file is configured correctly for the directory structure (https://github.com/michael-romer/zf-boilerplate)

Is there anyone that can see why it's not working?

4
  • 1
    Typical... a couple minutes after I posted I figured it out. I moved the phpunit.xml up a directory, modified the paths inside it to relfect this, and tried again, and it worked as expected. Commented Dec 12, 2011 at 13:27
  • can you make your comment an answer and mark it as accepted? It helps other people because they see that your issue is solved
    – edorian
    Commented Dec 12, 2011 at 14:00
  • Sure can! I couldn't do it yesterday, as my reputation is not high enough for me to answer my own question within 8 hours of posting... Commented Dec 13, 2011 at 12:20
  • Ah, forgot about that. Thanks :)
    – edorian
    Commented Dec 13, 2011 at 13:20

1 Answer 1

1

Typical... a couple minutes after I posted I figured it out. I moved the phpunit.xml up a directory, modified the paths inside it to relfect this, and tried again, and it worked as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.