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/myp...test.php?r=.... ?
Thanks
Page 1 of 1
how do I start a unit test?
#2
Posted 19 February 2010 - 09:53 AM
donnut, on 19 February 2010 - 08:52 AM, said:
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/myp...test.php?r=.... ?
Thanks
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/myp...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.yiiframew...e/test.overview
/Tommy
#3
Posted 19 February 2010 - 10:18 AM
tri, on 19 February 2010 - 09:53 AM, said:
You start it from a command line. Navigate to the protected/tests directory and type
http://www.yiiframew...e/test.overview
/Tommy
phpunit unit or phpunit unit/name-of-a-particular-test.php
http://www.yiiframew...e/test.overview
/Tommy
Great,
thank you.
Share this topic:
Page 1 of 1

Help













