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

utest.Tests.scala Maven / Gradle / Ivy

There is a newer version: 0.7.11
Show newest version
package utest

import utest.framework.{TestCallTree, Tree}
import scala.collection.mutable

/**
  * Represents a single hierarchy of tests, arranged in a tree structure, with
  * every node having a name and an associated executable test.
  *
  * The two hierarchies are parallel: thus you can inspect the `nameTree` to
  * browse the test listing without running anything, and once you decide which
  * test to run you can feed the `List[Int]` path of that test in the `nameTree`
  * into the `callTree` to execute it and return the result.
  */
case class Tests(nameTree: Tree[String], callTree: TestCallTree)
object Tests extends TestsVersionSpecific




© 2015 - 2024 Weber Informatics LLC | Privacy Policy