I'm looking to start using simpletest (or possibly go to pressflow) to test some Drupal modules I am working on.

I would like to get some information about the code that is covered by these tests. I have seen that it is possible to get this information from xdebug.

I have also seen these code coverage reports, but have no idea how they were generated.

Are there instructions on how to set this up anywhere? (Ideally for D6)

  • Partial answer: there's a module for Code coverage, it's currently for Drupal 7 but there's a Drupal 6 port.
    – tostinni
    Aug 9 '11 at 17:56
  • Thanks for that, I had seen the module but didn't see the D6 issue. Aug 10 '11 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.