Exclude screenshot test classes from Classes name containing @Test must end with 'Test'
This commit is contained in:
parent
6a901f1d7b
commit
319562e358
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