Intellij Infinitest連続テスト

Intellij +無限の連続テスト

Infinitestは継続的テストプラグインであり、テストを自動的に実行するのに役立ちます。

1. IntelliJにインストールする

1.1 In Plugins, clicks on the “Browse repositories…”

infinitest-idea-1

1.2 Type “Infinitest” and clicks on the “Install” button.

infinitest-idea-2

1.3 Restart the Intellij IDEA.

2. 無限のファセットを追加

プロジェクト構造/設定で、「無限」ファセットを追加します。

infinitest-idea-facet

3. プロジェクトの自動作成を有効にする

3.1 By default, Intellij doesn’t compile classes automatically, you need to enable it manually so that the “Infinitest” plugin can detect the changes and run the test automatically.

3.2 In project settings or preferences, select “Compiler” → Make project automatically

idea-build-project-automatically

4. 連続試験

完了、すべての準備ができました、継続的なテストをお楽しみください。

  • Infinitestプラグインは、プロジェクトのソースコードが変更されている間、すべてのテストクラスを実行します。

  • テストクラスが変更された場合、Infinitestプラグインは現在変更されたテストクラスを自動的に実行します。

infinitest-idea-3

Note
その他のヒントについては、このInfinitest user guideを参照してください。