vithya
(Vithyar)
1
Hi friends ,
How to run a individual Test File in Yii2 Advanced.
I was trying run like this…
[color="#800080"] var/www/html/yii2Advanced $ vendor/bin [b]codecept.phar run tests/codeception/frontend/acceptance HomeCept.php[/b][/color]
but its shows this error
[color="#FF0000"]
[font="Arial Black"][b] [Exception]
Suite tests/codeception/frontend/acceptance was not loaded[/color]
[/b][/font]
Anyone Please help me. because,am spending more than a day bt am not getting a solution.
vithya
(Vithyar)
2
i got a solution …
Individual TestFile run like this …
[color="#006400"]<dir>[/color][color="#800080"]<project>[/color]tests/codeception/frontend/php codecept.phar acceptance AboutCept.php
ex : [color="#006400"]/var/www/html/[/color][color="#800080"]yiiAdvanced/[/color]tests/codeception/frontend/php codecept.phar acceptance AboutCept.php
/var/www/html1/[color="#800080"]projectname/[/color]tests/codeception/frontend$ php codecept.phar run acceptance AboutCept.php