Modify

Ticket #33 (closed enhancement: fixed)

Opened 6 years ago

Last modified 3 years ago

Implement changes to use PHPUnit2 3.0 code coverage information

Reported by: mrook Owned by: mrook
Priority: minor Milestone: 2.3.0
Component: Version: 2.2.0RC2
Keywords: code coverage Cc:

Description

From Sebastian Bergmann:

For PHPUnit 3.0 I changed the result format of the

PHPUnit2_Framework_TestResult::getCodeCoverageInformation() method from

array(

"testCase" => array(

"/tested/code.php" => array(

linenumber => flag

)

)

)

to

array(

array(

'test' => PHPUnit2_Framework_Test 'files' => array(

"/tested/code.php" => array(

linenumber => flag

)

)

)

)

Attachments

Change History

comment:1 Changed 6 years ago by mrook

  • Owner changed from michiel to mrook

comment:2 Changed 5 years ago by mrook

  • Milestone changed from 2.2.0 to 2.3.0

Moving this to milestone 2.3.0 as the roadmap for PHPUnit2 is unclear at the moment.

comment:3 Changed 5 years ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r161.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.