Comments

Seems like something that could be resolved using unit tests with a special grouping. Exclude the "requirements" group from "AllTests" and include this group in something like "AllRequirments". Provide user documentation on how to run this set of tests from the command-line.

If this is approved it can be assigned to me.

I'd love to hear other suggestions if the above isn't a viable solution.

If it is going to be a part of Zend_Tool or unit tests, it wouldn't be so easy to run it there.

Martin,

This is exactly why I suggested the phpunit approach -- if you have shell access with your host, you should be able to run phpunit; however, after reading Mickael's latest comment regarding PHP_CompatInfo and looking into the component, I think it would be fairly straight-forward to create a PHP script that runs through the requirements.

The toughest part is deciding what to test for since requirements depend on what components you want to use. I suppose the tool could run through everything and report what you can and can't use based on your environment.

Such a tool might end up being pretty cool.

Posted by Martin Hujer (mhujer) on 2009-12-18T09:11:29.000+0000

I have updated link to Nette Requirements Checker - that's what I think that this tool should do (+display, which ZF components won't work properly because: ...)

Thanks for the updated link. This could be a really nice component actually. I would suggest a web and command-line interface. I'd be willing to work on this but I would need some guidance as to the correct approach since there doesn't seem to be anything documented as to conventions for something that needs a full blown web interface (or I just don't know where to look).