Packages

p

lerna

testkit

package testkit

Lerna TestKit

Overview

The package provides some test kits. Some classes require additional dependencies. For more details, see the Lerna project page.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. testkit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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.

    Example:
    1. 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

Inherited from AnyRef

Inherited from Any

Ungrouped