blob: f1eb2a774fab58f7f7b2435b4013c57acff55258 (
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
25
26
27
28
|
/*
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package expect
import org.junit.jupiter.api.DynamicTest.dynamicTest
import org.junit.jupiter.api.TestFactory
import kotlin.test.Ignore
class ExpectTest : AbstractExpectTest() {
private val ignores: List<String> = listOf(
"images",
"scripts",
"images",
"styles",
"*.js",
"*.css",
"*.svg",
"*.map"
)
@Ignore
@TestFactory
fun expectTest() = testDir?.dirsWithFormats(formats).orEmpty().map { (p, f) ->
dynamicTest("${p.fileName}-$f") { testOutputWithExcludes(p, f, ignores) }
}
}
|