LoginSignup
0
0

More than 3 years have passed since last update.

CakePHP2で特定のディレクトリにあるテストを全部実行する

Last updated at Posted at 2019-12-03

全テストを実行させると時間かかりすぎるので、特定のディレクトリにあるテストだけ、全部実行したいってことがあったのでその方法のメモ。

実行したいテストのディレクトリに移動して下記を実行

$ ls | xargs -I@ cake test @

再帰的にディレクトリ下のテストを全部実行したいなら下記

$ find . -name "*Test.php" | xargs -I@ cake test @
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0