TestPlatform

zio.test.TestPlatform
object TestPlatform

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

Attributes

Source
TestPlatform.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

final val isJS: false

Returns whether the current platform is ScalaJS.

Returns whether the current platform is ScalaJS.

Attributes

Source
TestPlatform.scala
final val isJVM: true

Returns whether the currently platform is the JVM.

Returns whether the currently platform is the JVM.

Attributes

Source
TestPlatform.scala
final val isNative: false

Returns whether the current platform is Scala Native.

Returns whether the current platform is Scala Native.

Attributes

Source
TestPlatform.scala