View webapp in progress

This commit is contained in:
Claude Brisson
2023-06-07 17:48:14 +02:00
parent ea02bb3e81
commit b40250c639
30 changed files with 1262 additions and 19 deletions

View File

View File

@@ -0,0 +1,24 @@
package org.jeudego.pairgoth.test
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.TestInfo
import org.slf4j.LoggerFactory
import java.io.File
abstract class TestBase {
companion object {
val logger = LoggerFactory.getLogger("test")
@BeforeAll
@JvmStatic
fun prepare() {
}
}
@BeforeEach
fun before(testInfo: TestInfo) {
val testName = testInfo.displayName.removeSuffix("()")
logger.info("===== Running $testName =====")
}
}