an optional name of the suite about which the information was provided
an optional fully qualifed Suite
class name about which the information was provided
an optional name of the test about which the information was provided
an optional fully qualifed Suite
class name about which the information was provided
an optional name of the suite about which the information was provided
an optional name of the test about which the information was provided
Class that holds information about names for an
InfoProvided
event.An
InfoProvided
event may be fired from anywhere. In this respectInfoProvided
is different from the other events, for which it is defined whether they are fired in the context of a suite or test. If fired in the context of a test, theInfoProvided
event should include aNameInfo
in whichtestName
is defined. If fired in the context of a suite, but not a test, theInfoProvided
event should include aNameInfo
in whichtestName
is not defined. If fired within the context of neither a suite nor a test, thenameInfo
of theInfoProvided
event (anOption[NameInfo]
) should beNone
.If either
suiteClassName
ortestName
is defined, thensuiteName
must be defined. The suite class name parameter is optional even if a suite name is provided by passing aSome
assuiteName
, because suites in ScalaTest are an abstraction that need not necessarily correspond to one class. Nevertheless, it most cases each suite will correspond to a class, and when it does, the fully qualified name of that class should be reported by passing aSome
forsuiteClassName
. One use for this bit of information is JUnit integration, because the "name" provided to a JUnitorg.junit.runner.Description
appears to usually include a fully qualified class name by convention.an optional name of the suite about which the information was provided
an optional fully qualifed
Suite
class name about which the information was providedan optional name of the test about which the information was provided