class SuiteCompiler[TestData] extends Serializable
Runs a suite or a collection of suites object and produces the output payloads encoding the test Report and Metrics.
- TestData
The parametric type of the data under test.
- Alphabetic
- By Inheritance
- SuiteCompiler
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SuiteCompiler(suite: SuiteLike[TestData], metricsLayer: Id = Layer.Id("metrics"), reportLayer: Id = Layer.Id("report"), suiteReportLayerMapping: Map[String, Id] = Map.empty, stripSucceeded: Boolean = true)(implicit reportSerializer: Serializer[Report], metricsSerializer: Serializer[Metrics])
- suite
The suite or collection of suites to be run.
- metricsLayer
Layer ID for the metrics partitions. Defaults to "metrics"
- reportLayer
Layer ID for the test report. Defaults to "report".
- suiteReportLayerMapping
Per-suite overrides for the
reportLayer. This parameter can be used to publish test-reports of specific test-suites in specific layers.- stripSucceeded
Filters out all details about succeeded test-cases from the final report. If this parameter is
true, only test-report partitions that contain at least one failed test-case are published. Metrics partitions, instead, are not affected, and always contain the information about both failed and succeeded test-cases. Use this to reduce the amount of data published in the output to the bare minimum required to perform a post-test investigation. Defaults totrue.- reportSerializer
Serialization.Serializer for the generated Report partitions.
- metricsSerializer
Serialization.Serializer for the generated Metrics partitions.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def compile(data: TestData): Map[Id, Payload]
Compiles one instance of
TestData, by running all test-suites and encoding the generated Reports and Metrics.Compiles one instance of
TestData, by running all test-suites and encoding the generated Reports and Metrics.This method is typically called from com.here.platform.data.processing.driver.deltasets.transformations.Stateless.mapValues, com.here.platform.data.processing.driver.deltasets.transformations.Stateless.mapValuesWithKey, com.here.platform.data.processing.driver.deltasets.transformations.Stateful.mapValuesWithResolver and followed by one of the publish transformation in Transformations.
- data
The data under test.
- returns
the output payloads, indexed by output layer ID.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metricsLayer: Id
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val outLayers: Set[Id]
All output layers this SuiteCompiler publishes in.
All output layers this SuiteCompiler publishes in. It includes the report layers and the metrics layer.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)