Ivelin
Ivelin

Reputation: 13299

How to run CakePHP 2.x plugin test case from the console?

I have created a model test case in a plugin.

Plugin name: Filters and Model name: Filter

The test Runs fine on the web runner. How do I run it in console?

I tried:

cake test Filters Case Model Filter

cake test Filters Case/Model/Filter

cake test Filters Case.Model.Filter

and about any other combination I can think of. Also tried same with the new testcase instead of test shell

Upvotes: 1

Views: 807

Answers (1)

Ivelin
Ivelin

Reputation: 13299

Got it.

cake testsuite PluginName Model/Filter

Upvotes: 2

Related Questions