Class OpenLineageTestRunFacet


public class OpenLineageTestRunFacet extends OpenLineageRunFacet
This class represents the test run facet. It captures the tests executed during the run and their results. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-1/TestRunFacet.json#/$defs/TestRunFacet.
  • Constructor Details

    • OpenLineageTestRunFacet

      public OpenLineageTestRunFacet()
      Default constructor
  • Method Details

    • getTests

      Return the test executions and their results.
      Returns:
      list
    • setTests

      public void setTests(List<OpenLineageTestRunFacetTestExecution> tests)
      Set up the test executions and their results.
      Parameters:
      tests - list
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageRunFacet
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class OpenLineageFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class OpenLineageFacet
      Returns:
      int