Interface TestSource

  • All Superinterfaces:
    VelocityDataSource

    public interface TestSource
    extends VelocityDataSource

    Contains methods to fetch information regarding test sets, test plans, and test cycles.

    These methods are exposed to Velocity reports on the testSource object within the global context. Example: $testSource.getTestSet(1)

    • Method Detail

      • getTestSet

        TestSet getTestSet​(java.lang.Integer testSetId)
      • getTestSets

        java.util.Collection<TestSet> getTestSets​(java.util.Collection<java.lang.Integer> testSetIds)
      • getTestSetsForTestPlans

        java.util.List<java.lang.Integer> getTestSetsForTestPlans​(java.util.List<java.lang.Integer> ids)
      • getTestPlan

        TestPlan getTestPlan​(java.lang.Integer testPlanId)
      • getTestPlansForProject

        java.util.List<TestPlan> getTestPlansForProject​(java.lang.Integer projectId)
      • getTestSetsForTestPlan

        TestSetSearchResults getTestSetsForTestPlan​(java.lang.Integer testPlanId,
                                                    int start,
                                                    int count)
      • getTestRun

        TestRun getTestRun​(java.lang.Integer testRunId)
      • getTestRuns

        java.util.List<TestRun> getTestRuns​(java.util.List<java.lang.Integer> testRunIds)
      • getTestRunIdsForTestCases

        java.util.List<java.lang.Integer> getTestRunIdsForTestCases​(java.util.List<java.lang.Integer> testCaseIds)
      • getTestRunStep

        TestRunStep getTestRunStep​(java.lang.Integer id)
      • getTestCycle

        TestCycle getTestCycle​(java.lang.Integer testCycleId)
      • getTestCyclesForTestPlan

        java.util.List<TestCycle> getTestCyclesForTestPlan​(java.lang.Integer testPlanId,
                                                           boolean active)
      • getTestCyclesForTestPlans

        java.util.List<java.lang.Integer> getTestCyclesForTestPlans​(java.util.List<java.lang.Integer> ids)
      • getTestCycleSummary

        TestCycleSummaryDTO getTestCycleSummary​(java.lang.Integer testCycleId)
      • getTestRunForTestCaseFromMostRecentCycleOfTestPlan

        TestRun getTestRunForTestCaseFromMostRecentCycleOfTestPlan​(java.lang.Integer testCaseId,
                                                                   java.lang.Integer testPlanId,
                                                                   java.lang.Integer exemptTestCycleId)
      • getTestCaseForTestRun

        Document getTestCaseForTestRun​(java.lang.Integer testRunId)
      • getTestRunsForTestRunSets

        java.util.List<java.lang.Integer> getTestRunsForTestRunSets​(java.util.List<java.lang.Integer> testRunSetIds)
      • getAllTestRunSetsForTestCycles

        java.util.List<java.lang.Integer> getAllTestRunSetsForTestCycles​(java.util.List<java.lang.Integer> testCycleIds)
      • getTestRunResults

        TestRunResults getTestRunResults​(java.lang.Integer testCaseId)