Zend Framework

Unit test output problem.

Details

  • Type: Unit Tests: Problem Unit Tests: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.3, 1.6.0RC2
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Rest_Server
  • Labels:
    None

Description

Correct output buffering management produces wrong tests results output. Some part of output is skipped.

Activity

Hide
Alexander Veremyev added a comment -

Output failure happened because output ob_end_clean() was used twice.
The root of the problem is test failure plus catching Exception instead of Zend_Rest_Server_Exception ($this->fail() PHPUnit functionality is also based on exceptions)

Show
Alexander Veremyev added a comment - Output failure happened because output ob_end_clean() was used twice. The root of the problem is test failure plus catching Exception instead of Zend_Rest_Server_Exception ($this->fail() PHPUnit functionality is also based on exceptions)
Hide
Wil Sinclair added a comment -

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: