com.polarion.alm.tracker.TestsConfiguration


METHODS
Modifiers and TypeNameDescription
public, String getTestRunsDeleteQuery() This is the query used by the "Delete TestRuns" job to select which test runs to delete. See more information about how the query is used under Testing Configuration page in Administration.
public, void setTestRunsDeleteQuery(String) Based on this query, the "Delete TestRuns" job will select which test runs to delete. See more information about how the query is used under Testing Configuration page in Administration.
public, boolean isTestRunsDeleteEnabled()
public, void setTestRunsDeleteEnabled(boolean)
public, boolean isTestRunsGeneratedIdEnabled()
public, void setTestRunsGeneratedIdEnabled(boolean)
public, String getTestCaseTemplate()
public, void setTestCaseTemplate(String)
public, String getTestRunTemplate()
public, void setTestRunTemplate(String)
public, String getDefectWorkItemType()
public, void setDefectWorkItemType(String)
public, Integer getMaxCreatedDefects()
public, void setMaxCreatedDefects(Integer)
public, Integer getMaxCreatedDefectsPercent()
public, void setMaxCreatedDefectsPercent(Integer)
public, boolean shouldCreateSummaryDefect(int,int,int) Checks if the failures and errors count exceeded maximal values configured by {@link #getMaxCreatedDefects()} or {@link #getMaxCreatedDefectsPercent()}
public, String getResultErrorEnumId()
public, void setResultErrorEnumId(String)
public, String getResultFailedEnumId()
public, void setResultFailedEnumId(String)
public, String getResultPassedEnumId()
public, void setResultPassedEnumId(String)
public, String getStatusErrorEnumId()
public, void setStatusErrorEnumId(String)
public, String getStatusFailedEnumId()
public, void setStatusFailedEnumId(String)
public, String getStatusOkEnumId()
public, void setStatusOkEnumId(String)
public, String getSummaryDefectSeverity()
public, void setSummaryDefectSeverity(String)
public, String getTestCaseIdCustomField()
public, void setTestCaseIdCustomField(String)
public, String getTestCaseWorkItemType()
public, void setTestCaseWorkItemType(String)
public, String getTestCaseTestResultFieldId()
public, void setTestCaseTestResultFieldId(String)
public, String getTestCaseTestCommentFieldId()
public, void setTestCaseTestCommentFieldId(String)
public, String getTestCasePlanningQuery()
public, void setTestCasePlanningQuery(String)
public, TestRunsConfiguration getTestRunsConfiguration() Returns the generic test runs configuration (used by test runs for which there is no type-specific configuration).
public, TestCaseFailureConfiguration getTestCaseFailureConfiguration() Returns the fields related to the Test Case failure of the .polarion/testing/configuration/configuration.xml configuration.

Once an Administration -> Testing -> Configuration page is opened in the UI, the migration to the new configuration structure is executed in that specific Project.

The TestCaseFailureConfiguration object returned by this method will only contain values from the original configuration.xml and will not return values that were migrated to another file. Therefore, this method is valid only until the configuration of your Project is migrated.

After migration, setting values in the TestCaseFailureConfiguration object returned by this method has no effect. You must access the newly created configurations located at: .polarion/testing/configuration/test_case_failure_configuration/

Prior to migration, setting the following fields in the returned object will not affect the original configuration.xml as they are duplicates:

  • testCaseWorkItemType
  • defectWorkItemType
  • defectTemplate
  • defectReuseType
public, void setTestRunsConfiguration(TestRunsConfiguration) Sets the generic test runs configuration.
public, void setTestCaseFailureConfiguration(TestCaseFailureConfiguration) Sets the Test Case failure configuration.

Back to Index