-
Hello! Thank you for a great product! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you have a few options.
In the JUnit 5 and Spring Framework builds, we primarily do the former. Specifically, all of our "real" test classes match the pattern We actually include test classes matching the patterns |
Beta Was this translation helpful? Give feedback.
Yes, you have a few options.
EngineTestKit
.@Tag("my-tag")
, and exclude the "my-tag" tag from your build.In the JUnit 5 and Spring Framework builds, we primarily do the former.
Specifically, all of our "real" test classes match the pattern
*Tests
, and all of our "test cases" match the pattern*TestCase
. We therefore only run the*Tests
from our build.https://github.com/junit-team/junit5/blob/97d9c2ec57e24736788df8f732de9456d3edaacb/gradle/plugins/src/main/kotlin/junitbuild.testing-conventions.…