blob: bed841a6c3b377cbc5ae882125ea6cdce444d6d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package expect
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.DynamicTest.dynamicTest
import org.junit.jupiter.api.TestFactory
class ExpectTest : AbstractExpectTest() {
private val ignores: List<String> = listOf(
"images",
"scripts",
"images",
"styles",
"*.js",
"*.css",
"*.svg",
"*.map"
)
@Disabled
@TestFactory
fun expectTest() = testDir?.dirsWithFormats(formats).orEmpty().map { (p, f) ->
dynamicTest("${p.fileName}-$f") { testOutputWithExcludes(p, f, ignores) }
}
}
|