ZF-11053: Updated PHPUnit assets to be more usable out-of-the-box

Issue Type: Improvement Created: 2011-02-08T06:53:33.000+0000 Last Updated: 2012-07-13T13:59:10.000+0000 Status: Resolved Fix version(s): - 1.11.4 (03/Mar/11)

Reporter: Ralph Schindler (ralph) Assignee: Ralph Schindler (ralph) Tags: - Zend_Tool

Related issues: Attachments:


Todo: * Remove application & library bootstrap files (currently empty) * Add a tests/bootstrap.php file with ** APPLICATION_PATH & APPLICATION_ENV setting ** Autoloader started * Add content to the phpunit.xml file


Posted by Aaron S. Hawley (ashawley) on 2011-02-08T08:15:36.000+0000

I actually don't mind the set of two bootstrap files, one in library and one in applications, but they and the phpunit.xml file shouldn't be empty. Getting their contents automatically set would help new users to start testing, and also provide some consistent testing conventions for everyone.

Should there be two bootstrap files -- and two test suites in phpunit.xml -- one for the application and one for the library code?

Posted by Ralph Schindler (ralph) on 2011-02-09T07:12:52.000+0000

These were created before some PHPUnit usage patterns and features emerged. Since the PHPUnit's config xml file has bootstrap support now, that is what we use here, that is how this bootstrap will be hooked up. PHPUnit assumes one bootstrap file per tests/ directory.

These files are being populated with the proper contents, ill have it committed later today-I'll update you what to look for.


Posted by Ralph Schindler (ralph) on 2011-02-28T07:57:48.000+0000

Fixed in trunk in r23766, r23767, r23768 and in 1.11 in r23769.

Posted by best insurance companies (best insurance companies) on 2012-03-19T22:38:46.000+0000

I am very happy to write comment on this blog really you had provided very informative post in this blog. Really it had made me know something today. Thanks for the stuff which made me realized some thing.

Learning which insurance plan cover to choose might be difficult. It is essential that you just look for protection plan which resources the level of protection you will need, and at a cost you can deal with. Turn into well-informed on what you require from the vehicle insurance plan plan in advance of purchasing 1. Study more to identify ways to acquire the best vehicle insurance plan for your needs and funds.

Have you found an issue?

See the Overview section for more details.


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

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