mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Exclude $ classes from being run by Unit.
Fixes https://github.com/cbeust/kobalt/issues/251.
This commit is contained in:
parent
3ac313b7bf
commit
fdd18a3573
1 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@ abstract class GenericTestRunner: ITestRunnerContributor {
|
|||
}
|
||||
|
||||
val testClasses = IFileSpec.GlobSpec(toClassPaths(testConfig.testIncludes))
|
||||
.toFiles(project.directory, path, testConfig.testExcludes.map {
|
||||
Glob(it)
|
||||
}).map {
|
||||
.toFiles(project.directory, path, testConfig.testExcludes.map { Glob(it) })
|
||||
.filter { ! it.path.contains('$') }
|
||||
.map {
|
||||
File(KFiles.joinDir(project.directory, testClassDir, it.path))
|
||||
}
|
||||
val result = testClasses.map {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue