Exclude screenshot test classes from Classes name containing @Test must end with 'Test'
This commit is contained in:
parent
3ecc4e9538
commit
569f3dbe0a
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ class KonsistTestTest {
|
|||
Konsist
|
||||
.scopeFromTest()
|
||||
.classes()
|
||||
.withoutName("S", "T")
|
||||
.withFunction { it.hasAnnotationOf(Test::class) }
|
||||
.assertTrue { it.name.endsWith("Test") }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue