File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mokkery-gradle/src/main/kotlin/dev/mokkery/gradle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ public fun interface ApplicationRule {
31
31
public companion object {
32
32
33
33
/* *
34
- * Results in Mokkery being applied to any source set with name that contains "Test" or is equal to "test".
34
+ * Results in Mokkery being applied to any source set with name that contains "Test" or starts with "test".
35
35
* It means that it is automatically applied to tests in Multiplatform, JVM and Android projects.
36
36
*/
37
- public val AllTests : ApplicationRule = ApplicationRule { it.name.contains(" Test" ) || it.name == " test" }
37
+ public val AllTests : ApplicationRule = ApplicationRule { it.name.contains(" Test" ) || it.name.startsWith( " test" ) }
38
38
39
39
/* *
40
40
* Results in Mokkery being applied to all source sets in this project.
You can’t perform that action at this time.
0 commit comments