ZF-417: New testing harness (ZFTestManager) fixes several issues with current testing framework

Issue Type: Bug Created: 2006-10-03T17:39:37.000+0000 Last Updated: 2008-06-15T13:59:56.000+0000 Status: Resolved Fix version(s): Reporter: Ralph Schindler (ralph) Assignee: Ralph Schindler (ralph) Tags: Related issues: Attachments:


More details here, plus lets discuss on the below page

Issues noted during test running and test development:

  • Cannot run isolated tests This is important for finding dependancy issues.. also speeds up development time when trying to develop tests.
  • New test writers overwhelmed when there are a lack of standard practices specific to the Zend Framework Hard to follow when some writers add tests to suites and some add suites to suites, also, there is a better chance of changes being blown away by developers need to alter upper level AllTests file to include a new suite. Also, there is a better chance of tests getting lost in the shuffle, currently, 2 test files exists that never get run.
  • Need for a better configuration, better suite orgainization
  • some other issues listed on the wiki page.


Posted by Gavin (gavin) on 2006-10-05T17:50:46.000+0000

Moved wiki discussion page to permanent home with other ZF design discussions.

Posted by Bill Karwin (bkarwin) on 2006-11-13T15:19:02.000+0000

Changing fix version to unknown.

Posted by Darby Felton (darby) on 2007-10-05T11:53:01.000+0000

What is meant by "Cannot run isolated tests"? Indeed, each test separate suite and test case can be individually run using PHPUnit. PHPUnit also supports the --filter option, which additionally allows you to control which individual test methods are run. This feature has its shortcomings, however, I'm sure. Maybe you could elaborate on this problem a bit more?

With regard to standard practices, there is the Testing Standards wiki page, but this obviously could use a lot of improvement.

Posted by Ralph Schindler (ralph) on 2008-02-04T11:45:01.000+0000

Marking as won't fix for the time being. We can reopen at any point if we decide to look into getting better organization into unit tests, perhaps even there are new phpunit features we are not using.


Posted by Wil Sinclair (wil) on 2008-06-15T13:59:56.000+0000

Changing to comply with new IT coventions for components.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.