TestVersion

zio.test.TestVersion
object TestVersion

TestVersion provides information about the Scala version tests are being run on to enable platform specific test configuration.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val isScala2: Boolean

Returns whether the current Scala version is Scala 2.

Returns whether the current Scala version is Scala 2.

Attributes

val isScala212: Boolean

Returns whether the current Scala version is Scala 2.12.

Returns whether the current Scala version is Scala 2.12.

Attributes

val isScala213: Boolean

Returns whether the current Scala version is Scala 2.13.

Returns whether the current Scala version is Scala 2.13.

Attributes

val isScala3: Boolean

Returns whether the current Scala version is Scala 3.

Returns whether the current Scala version is Scala 3.

Attributes