All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iodesystems.junit4.runner.JUnitRunner.kt Maven / Gradle / Ivy

package com.iodesystems.junit4.runner

import org.junit.runner.JUnitExpose
import org.junit.runner.Result

object JUnitRunner {
  data class Config(
    val testPackageScan: String? = null,
    val classes: List>? = null,
    val enableTextOutput: Boolean = true,
    val outputXmlFile: String? = null,
    val noExit: Boolean = false,
  )

  fun run(cfg: Config, vararg junitArgs: String): Result {
    return JUnitExpose.run(cfg, *junitArgs)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy