Interface TestRecordsField

All Superinterfaces:
CanRender<Renderer<? extends Renderer<?>>>, Field, Iterable<TestRecord>, IterableWithSize<TestRecord>

public interface TestRecordsField extends Field, IterableWithSize<TestRecord>
Since:
3.9.0
Author:
Jakub Stroleny, Polarion Software
  • Method Details

    • byResultId

      @NotNull IterableWithSize<TestRecord> byResultId(@Nullable String resultId)
      Filter all records by their result id.
      Since:
      3.9.2
    • byResultIds

      @NotNull IterableWithSize<TestRecord> byResultIds(@Nullable Iterable<String> resultIds)
      Filter all records by their result ids.
      Parameters:
      resultIds - collection of possible result id to search for.
      Returns:
      all Test Records which have result id matching one in resultIds collection. No Test Records will be returned when reslutIds is empty or null.
      Since:
      3.10.0
    • executed

      @NotNull IterableWithSize<TestRecord> executed()
      Filter out all records with null results.
      Returns:
      all Test Records which have not null result.
      Since:
      3.10.0
    • byTestCase

      @NotNull IterableWithSize<TestRecord> byTestCase(@NotNull String testCasePath)
      Get all records for test case by their id or path.
      Parameters:
      testCasePath - Use the Path notation: [ProjectId]/[TestCaseId]
      If the test case is is in the same project as the test run the project id part can be omitted
      Since:
      3.9.2
    • byTestCaseIteration

      @Nullable TestRecord byTestCaseIteration(@NotNull String testCasePath, int iteration)
      Returns test record for given test case iteration, or null if such iteration does not exist.
      Parameters:
      testCasePath - Use the Path notation: [ProjectId]/[TestCaseId]
      If the test case is is in the same project as the test run the project id part can be omitted
      iteration - the test case iteration
      Since:
      3.9.2