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

mill.testkit.IntegrationTestSuite.scala Maven / Gradle / Ivy

There is a newer version: 0.12.0-RC2-17-07e173
Show newest version
package mill.testkit

import os.Path
import utest._

abstract class IntegrationTestSuite extends TestSuite with IntegrationTester.Impl {
  def workspaceSourcePath: os.Path = os.Path(sys.env("MILL_INTEGRATION_REPO_ROOT"))
  val clientServerMode: Boolean = sys.env("MILL_INTEGRATION_SERVER_MODE").toBoolean

  def millExecutable: Path = os.Path(System.getenv("MILL_INTEGRATION_LAUNCHER"), os.pwd)
  override def utestAfterEach(path: Seq[String]): Unit = {
    if (clientServerMode) close()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy