how do I start a unit test?

Hi,

I created a simple fixture and unit test. How do I launch this test? I can not find it on the site.

E.g.: http://localhost/myproject/index-test.php?r=… ?

Thanks

You start it from a command line. Navigate to the protected/tests directory and type




phpunit unit

or

phpunit unit/name-of-a-particular-test.php



http://www.yiiframework.com/doc/guide/test.overview

/Tommy

Great,

thank you.