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

mill.testrunner.Framework.scala Maven / Gradle / Ivy

The newest version!
package mill.testrunner

import mill.api.internal

@internal object Framework {
  def framework(frameworkName: String)(
      cl: ClassLoader
  ): sbt.testing.Framework = {
    cl.loadClass(frameworkName)
      .getDeclaredConstructor().newInstance()
      .asInstanceOf[sbt.testing.Framework]
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy