mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Exclude screenshot test classes from Classes name containing @Test must end with 'Test'
This commit is contained in:
@@ -31,6 +31,7 @@ class KonsistTestTest {
|
|||||||
Konsist
|
Konsist
|
||||||
.scopeFromTest()
|
.scopeFromTest()
|
||||||
.classes()
|
.classes()
|
||||||
|
.withoutName("S", "T")
|
||||||
.withFunction { it.hasAnnotationOf(Test::class) }
|
.withFunction { it.hasAnnotationOf(Test::class) }
|
||||||
.assertTrue { it.name.endsWith("Test") }
|
.assertTrue { it.name.endsWith("Test") }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user