Package

io.magentys.donut.gherkin

model

Permalink

package model

Visibility
  1. Public
  2. All

Type Members

  1. case class AfterHook(hookName: String, status: Status = Status(false, ""), duration: Duration = Duration(0L, ""), error_message: String = "") extends Product with Serializable

    Permalink
  2. case class BeforeHook(hookName: String, status: Status = Status(false, ""), duration: Duration = Duration(0L, ""), error_message: String = "") extends Product with Serializable

    Permalink
  3. case class DashboardPage(reportDashboard: ExecutionDashboard) extends Product with Serializable

    Permalink

    DashboardPage

  4. case class Duration(duration: Long, durationStr: String) extends Product with Serializable

    Permalink
  5. case class Embedding(mime_type: String = "", data: String = "", id: Int = 0) extends Product with Serializable

    Permalink
  6. case class Examples(name: String, keyword: String, description: Option[String], rows: List[Row]) extends Product with Serializable

    Permalink
  7. case class ExecutionDashboard(totalFeatures: Int, featureMetrics: Metrics, allTestsMetrics: Metrics, scenarioMetrics: Metrics, unitTestMetrics: Metrics, stepMetrics: Metrics, totalTags: Int, featureFailRate: Double, featurePassRate: Double, scenariosFailRate: Double, scenariosPassRate: Double, unitTestsFailRate: Double, unitTestsPassRate: Double, executionDuration: String, executionDateTime: String) extends Product with Serializable

    Permalink
  8. case class ExecutionData(timestamp: DateTime, allScenarios: List[Scenario], allFailures: List[Scenario], allFeaturesSize: Int, allTagSize: Int, allFeatureMetrics: Metrics, allTestsMetrics: Metrics, allScenarioMetrics: Metrics, allUnitTestMetrics: Metrics, allStepMetrics: Metrics) extends Product with Serializable

    Permalink

    Metadata and Metrics for an execution

  9. case class FailuresPage(scenarios: List[Scenario], totalFailures: Int, htmlElements: String) extends Product with Serializable

    Permalink

    Failures page

  10. case class Feature(keyword: String, name: String, description: String, uri: String, scenarios: List[Scenario], tags: List[String], status: Status = Status(false, ""), duration: Duration = Duration(0L, ""), scenarioMetrics: Metrics = Metrics(0, 0, 0), stepMetrics: Metrics = Metrics(0, 0, 0, 0, 0), htmlFeatureTags: List[String] = List.empty, htmlElements: String = "", engine: String, index: String = "0") extends Product with Serializable

    Permalink
  11. case class FeaturesPage(features: List[Feature], featuresMetrics: Metrics, totalDuration: String) extends Product with Serializable

    Permalink

    Features Page

  12. case class Metrics(total: Int, passed: Int, failed: Int, skipped: Int = 0, pending: Int = 0, undefined: Int = 0, missing: Int = 0, orphaned: Int = 0, orphanedPassed: Int = 0, orphanedFailed: Int = 0, hasOrphanedUnitTests: Boolean = false, hasUnitTests: Boolean = false, hasScenarios: Boolean = false) extends Product with Serializable

    Permalink
  13. case class ProjectMetadata(projectName: String, projectVersion: String, customAttributes: Map[String, String]) extends Product with Serializable

    Permalink

    Project metadata

  14. case class Report(projectMetadata: ProjectMetadata, dashboardPage: DashboardPage, featuresPage: FeaturesPage, tagPage: TagPage, failuresPage: FailuresPage, allImages: String) extends Product with Serializable

    Permalink
  15. case class ReportConsole(allFeatures: List[Feature], allTags: List[ReportTag], totalFeatures: Int, numberOfPassedFeatures: Int, numberOfFailedFeatures: Int, allTestsTotal: Int, allTestsPassed: Int, allTestsFailed: Int, totalScenarios: Int, numberOfPassedScenarios: Int, numberOfFailedScenarios: Int, hasScenarios: Boolean, hasUnitTests: Boolean, numberOfTotalUnitTests: Int, numberOfPassedUnitTests: Int, numberOfFailedUnitTests: Int, numberOfTotalOrphanedUnitTests: Int, numberOfPassedOrphanedUnitTests: Int, numberOfFailedOrphanedUnitTests: Int, hasOrphanedUnitTests: Boolean, totalSteps: Int, numberOfPassedSteps: Int, numberOfFailedSteps: Int, numberOfSkippedSteps: Int, numberOfPendingSteps: Int, numberOfUndefinedSteps: Int, duration: String, buildFailed: Boolean) extends Product with Serializable

    Permalink

    TODO: Revisit the naming for unit test variables UnitTests or TotalUnitTests or unitTestMetrics.total refers to unit tests that are linked to a feature
    i.e.

    TODO: Revisit the naming for unit test variables UnitTests or TotalUnitTests or unitTestMetrics.total refers to unit tests that are linked to a feature
    i.e. excluding orphaned unit tests(that are not linked to any feature). It may be slightly confusing and will
    be revisited later.

  16. case class Row(cells: List[String]) extends Product with Serializable

    Permalink
  17. case class Scenario(description: Option[String], name: String, keyword: String, tags: List[String], steps: List[Step], featureName: String = "", featureIndex: String = "", status: Status = Status(false, ""), duration: Duration = Duration(0L, ""), background: Option[Scenario], screenshotsSize: Int = 0, screenshotIDs: String = "", screenshotStyle: String = "display:none", type: Option[String], examples: List[Examples], before: List[BeforeHook] = List.empty, after: List[AfterHook] = List.empty) extends Product with Serializable

    Permalink
  18. case class Screenshots(screenshotsIds: String, screenshotsSize: Int, screenshotsStyle: String) extends Product with Serializable

    Permalink
  19. case class Status(status: Boolean, statusStr: String) extends Product with Serializable

    Permalink
  20. case class StatusConfiguration(countSkippedAsFailure: Boolean = false, countPendingAsFailure: Boolean = false, countUndefinedAsFailure: Boolean = false, countMissingAsFailure: Boolean = false) extends Product with Serializable

    Permalink
  21. case class Step(name: String, keyword: String, rows: List[Row], output: List[String], status: Status = Status(false, ""), duration: Duration = Duration(0L, ""), start_time: Long, end_time: Long, error_message: String = "") extends Product with Serializable

    Permalink
  22. case class TagPage(reportTag: List[ReportTag], totalTags: Int, totalTagsPassed: Int, totalTagsFailed: Int, chart: String) extends Product with Serializable

    Permalink

    Tags Page

Value Members

  1. object AllTestsMetrics

    Permalink
  2. object DashboardPage extends Serializable

    Permalink
  3. object Duration extends Serializable

    Permalink
  4. object ExecutionDashboard extends Serializable

    Permalink
  5. object ExecutionData extends Serializable

    Permalink
  6. object FailuresPage extends Serializable

    Permalink
  7. object Feature extends Serializable

    Permalink
  8. object FeatureMetrics

    Permalink
  9. object FeaturesPage extends Serializable

    Permalink
  10. object Report extends Serializable

    Permalink
  11. object ReportConsole extends Serializable

    Permalink
  12. object ScenarioMetrics

    Permalink
  13. object Status extends Serializable

    Permalink
  14. object StepMetrics

    Permalink
  15. object TagPage extends Serializable

    Permalink
  16. object UnitTestMetrics

    Permalink

Ungrouped