Victor Kiptoo
11/07/2023, 6:36 AM@TestFactory
fun `classes start with Note`() = Konsist
.scopeFromPackage("..data")
.classes()
.stream()
.flatMap {
Stream.of(
dynamicTest("${it} should start with the word Note"){
it.assertTrue { it.name.startsWith("Note") }
}
)
}
If someone was able to use dynamic tests kindly help meigor.wojda
11/08/2023, 8:13 AMuseJUnitPlatform()
in build gradle. Check the starter projects. They have been recently updated on developement
branch. Samples contain both normal and dynamic tests:
https://github.com/LemonAppDev/konsist/tree/develop/samples/starter-projects