Interface CustomTestRunRepository

All Known Subinterfaces:
TestRunRepository
All Known Implementing Classes:
CustomTestRunRepositoryImpl

public interface CustomTestRunRepository
Custom repo for test runs.
  • Method Details

    • findAllByFilter

      PaginationResponse<TestRun> findAllByFilter(int page, int size, AnalyzedTestRunSortedColumns columnType, org.springframework.data.domain.Sort.Direction sortType, TestRunSearchRequest filter)
      Find paged test runs by filter.
      Parameters:
      page - page num
      size - size num
      columnType - column for sorting
      sortType - sorting type
      filter - filter
      Returns:
      filtered test runs
    • compareByExecutionRequestIds

      List<CompareTreeTestRunResponse> compareByExecutionRequestIds(List<UUID> executionRequestIds)
    • getTestRunsNotInExecutionRequestCompareTable

      List<BaseEntityResponse> getTestRunsNotInExecutionRequestCompareTable(List<UUID> executionRequestIds)
    • updateStatusesAndFinishDateByTestRunId

      void updateStatusesAndFinishDateByTestRunId(UUID testRunId, ExecutionStatuses executionStatus, TestingStatuses testingStatus, Timestamp finishDate, long duration)
    • findTestRunsByExecutionRequestAndHasLogRecordsWithFile

      List<TestRun> findTestRunsByExecutionRequestAndHasLogRecordsWithFile(UUID executionRequestId, FileType fileType)
    • findTestRunsByExecutionRequestIdAndNamesAndLabelIds

      List<TestRun> findTestRunsByExecutionRequestIdAndNamesAndLabelIds(UUID executionRequestId, List<String> testRunNames, List<UUID> labelIds)
    • findTestRunsIdNameByExecutionRequestIdAndLabelIds

      List<TestRun> findTestRunsIdNameByExecutionRequestIdAndLabelIds(UUID executionRequestId, List<UUID> labelIds)
    • findProjectIdByTestRunId

      UUID findProjectIdByTestRunId(UUID testRunId)
    • findProjectIdByTestCaseId

      UUID findProjectIdByTestCaseId(UUID testCaseId)
    • updateAnyFieldsRamObjectByIdDocument

      void updateAnyFieldsRamObjectByIdDocument(UUID testRunId, Map<String,Object> fieldsToUpdate, Class<?> entityClass)