質問

I wonder how could I use the cake bake all command without filling the Test folder.

Because I'm getting an error, when I use this command :

Fatal Error Error: Call to undefined method App::getAssociated() in [C:\wamp\www
\myAppFolder\lib\Cake\Console\Command\Task\TestTask.php, line 394]

Everything works except Test baking, so cake bake all bakes Controller & Model but it fails when baking Test before baking Views...

In my job, we don't have time to care about Tests so if someone knows a way to block the test baking... would be a lot helpful !

EDIT :

If someone knows a way to fix the Fatal Error instead... Hint : I have this issue since I installed PHPUnit.

正しい解決策はありません

他のヒント

"All" means "all". Did you look at the documentation?

To bake the views run

cake bake view

You can script any or all of these:

cake bake db_config
cake bake model
cake bake view
cake bake controller
cake bake project
cake bake fixture
cake bake test
cake bake plugin plugin_name

Or use the interactive shell.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top