Object/Trait

com.github.pheymann.rrt

TestAction

Related Docs: trait TestAction | package rrt

Permalink

object TestAction

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

Type Members

  1. sealed trait DbReadyTestAction[R] extends AnyRef

    Permalink
  2. final case class DeleteTestCase(test: EndpointTestCase) extends TestAction[TestResult] with Product with Serializable

    Permalink

    Run the test case against a DELETE endpoint.

    Run the test case against a DELETE endpoint.

    test

    request generator

  3. final case class DoubleData(maxOpt: Option[Double] = None) extends TestAction[RandomValueGen[Double]] with Product with Serializable

    Permalink

    Creates a RandomValueGen for Double values.

    Creates a RandomValueGen for Double values.

    maxOpt

    optional upper/lower bound of the values

  4. final case class FromDatabase[R](table: String, pkColumn: String, resultColumn: String, action: DbReadyTestAction[R]) extends TestAction[R] with Product with Serializable

    Permalink
  5. final case class GetTestCase(test: EndpointTestCase) extends TestAction[TestResult] with Product with Serializable

    Permalink

    Run the test case against a GET endpoint.

    Run the test case against a GET endpoint.

    test

    request generator

  6. final case class IntData(maxOpt: Option[Int] = None) extends TestAction[RandomValueGen[Int]] with Product with Serializable

    Permalink

    Creates a RandomValueGen for Int values.

    Creates a RandomValueGen for Int values.

    maxOpt

    optional upper/lower bound of the values

  7. final case class LongData(maxOpt: Option[Long] = None) extends TestAction[RandomValueGen[Long]] with Product with Serializable

    Permalink

    Creates a RandomValueGen for Long values.

    Creates a RandomValueGen for Long values.

    maxOpt

    optional upper/lower bound of the values

  8. final case class PositiveIntData(maxOpt: Option[Int] = None) extends TestAction[RandomValueGen[Int]] with Product with Serializable

    Permalink

    Creates a RandomValueGen for positive Int values (> 0).

    Creates a RandomValueGen for positive Int values (> 0).

    maxOpt

    optional upper bound of the values

  9. final case class PostTestCase(test: EndpointTestCase) extends TestAction[TestResult] with Product with Serializable

    Permalink

    Run the test case against a POST endpoint.

    Run the test case against a POST endpoint.

    test

    request generator

  10. final case class PutTestCase(test: EndpointTestCase) extends TestAction[TestResult] with Product with Serializable

    Permalink

    Run the test case against a PUT endpoint.

    Run the test case against a PUT endpoint.

    test

    request generator

  11. type RandomValueGen[A] = () ⇒ A

    Permalink

    A random value generator will create a value of type A on call.

  12. final case class RetrieveDoubles(size: Int) extends DbReadyTestAction[RandomValueGen[Double]] with Product with Serializable

    Permalink

    Read Double values from database.

    Read Double values from database.

    size

    at most size values

  13. final case class RetrieveInts(size: Int) extends DbReadyTestAction[RandomValueGen[Int]] with Product with Serializable

    Permalink

    Read Int values from database.

    Read Int values from database.

    size

    at most size values

  14. final case class RetrieveLongs(size: Int) extends DbReadyTestAction[RandomValueGen[Long]] with Product with Serializable

    Permalink

    Read Long values from database.

    Read Long values from database.

    size

    at most size values

  15. final case class RetrieveStrings(size: Int) extends DbReadyTestAction[RandomValueGen[String]] with Product with Serializable

    Permalink

    Read String values from database.

    Read String values from database.

    size

    at most size values

  16. final case class StaticData[A](data: List[A]) extends TestAction[RandomValueGen[A]] with Product with Serializable

    Permalink

    Creates a RandomValueGen for a List of static values.

    Creates a RandomValueGen for a List of static values. The generator will randomly select an element from the List on call.

    data

    static List of values

  17. implicit class TestActionLifter[R] extends AnyRef

    Permalink
  18. implicit class WithFromDatabase[R] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped