Hi Sergio,
I don't use Zend_Tool, but did recently convert my application to use
Zend_Application and just got Zend_Test up & running on 1.8.  So I believe
the docs are up to date.

I guess you're not using PHPUnit test already?  I'd first get to grips with
this, which underlies Zend_Test_PHPUnit, and write some unit tests for your
models - http://www.phpunit.de/manual/3.4/en/index.html is a good place to
start.  You can (& should) test the models independently from the framework,
so you'll need to do this anyway.

The second resource I found invaluable in actually making the bootstrapping
& Zend_Test work was Matthew's Pastebin app; take a look at his bootstrap &
test code and cannibalise it ;-)

I personally found the usually-excellent ZF docs somewhat obscure for
Zend_Test, especially wrt getting the bootstrapping working with my setup.

Cheers,
Mark




Razorblade wrote:
> 
> 
> Hi, 
> is the documentation about Zend_Test_PHPUnit (
> http://framework.zend.com/manual/en/zend.test.phpunit.html#zend.test.phpunit.loginexample
> ) still valid for ZF 1.8.x?
> Where to put all test classes in an application generated by Zend_tool?
> How to run a test and see the result?
> Are there any good tutorial about all these tasks other thn the
> documentation?
> Thanks
> 
> Sergio Rinaudo
> 
> _________________________________________________________________
> Più di 100 Emoticon gratis per il tuo Messenger!
> http://intrattenimento.it.msn.com/emoticon
> 

-- 
View this message in context: 
http://www.nabble.com/Setting-Up-Zend_Test_PHPUnit-tp23797832p23805289.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to