package testkit
Lerna TestKit
Overview
The package provides some test kits. Some classes require additional dependencies. For more details, see the Lerna project page.
- lerna.testkit.akka: test kits for Akka classic
- lerna.testkit.airframe: test kits for Airframe
- lerna.testkit.wiremock: test kits for WireMock
- Alphabetic
- By Inheritance
- testkit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
EqualsSupport extends TypeCheckedTripleEquals
A trait that provides a org.scalactic.TypeCheckedTripleEquals.CheckingEqualizer for any type
A trait that provides a org.scalactic.TypeCheckedTripleEquals.CheckingEqualizer for any type
Overview
This trait provides a org.scalactic.TypeCheckedTripleEquals.CheckingEqualizer for org.scalactic.TypeCheckedTripleEquals. For more details, see org.scalactic.TypeCheckedTripleEquals.
- See also
Value Members
-
object
EqualsSupport extends EqualsSupport
A object that provides a org.scalactic.TypeCheckedTripleEquals.CheckingEqualizer for any type
A object that provides a org.scalactic.TypeCheckedTripleEquals.CheckingEqualizer for any type
Overview
This object is useful to use the features provided by lerna.testkit.EqualsSupport without mix-in the trait.
scala> import lerna.testkit.EqualsSupport._ scala> 1 === 1 res0: Boolean = true scala> 1 === 2 res1: Boolean = false
A compile error occurs if the wrong types are compared.
scala> import lerna.testkit.EqualsSupport._ scala> import org.scalatest.Assertions._ scala> assertDoesNotCompile("1 === 1.0").isSucceeded res0: Boolean = true
Example: