TestOptions

final class TestOptions(val name: String, val tags: Set[Tag], val location: Location) extends Serializable

Options used when running a test. It can be built implicitly from a String (@see munit.TestOptionsConversions)

Value parameters:
name

the test name, used in the UI and to select it with testOnly

tags

a set of munit.Tag, used to attach semantic information to a test

Companion:
object
trait Serializable
class Object
trait Matchable
class Any

Value members

Constructors

def this(name: String)(implicit loc: Location)

Concrete methods

override def toString: String
Definition Classes
Any
def withLocation(newLocation: Location): TestOptions
def withName(newName: String): TestOptions
def withTags(newTags: Set[Tag]): TestOptions

Concrete fields

val name: String
val tags: Set[Tag]