IntelliJを使用する場合は、特定のJunitカテゴリを選択してビジュアル環境ですべてのテストを実行できます。現時点でIntelliJを使用してPOM.xmlに定義された特定のCategoryでJunitテストを実行する方法
あなたが実行している場合:
mvn clean test
あなたは高速テストを実行しますが、スローまたは高速を選択するのIntelliJを使用する方法?
のpom.xmlの断片
<profiles>
<profile>
<id>SlowTest</id>
<properties>
<testcase.groups>YOUR.PROJECT.test.categories.Slow</testcase.groups>
</properties>
</profile>
<profile>
<id>FastTest</id>
<properties>
<testcase.groups>YOUR.PROJECT.test.categories.Fast</testcase.groups>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
アドバンス
で多くの感謝フアン・アントニオ・
これは解決策です! :)この構成では、テストがすべてのケースをカバーしているかどうかを確認するために、カテゴリに基づく開発をIDEで視覚的に見ることができます。多くのありがとう@glitch – jabrena