42
31

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Gradleで特定のメソッド、クラスのみテスト

Last updated at Posted at 2014-11-01

特定のメソッドのみテスト

gradle test --tests "*HogeTest.testNewInstance" -i

特定のクラスのみテスト

gradle test --tests "*HogeTest" -i

備考

  • 基本testはぐるぐる回すと思うのでexport GRADLE_OPTS="-Dorg.gradle.daemon=true"しておきましょう。
  • gradle2.1でのみ確認です。
42
31
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
42
31

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?