Class TabularTestCasesExportSettings

    • Constructor Detail

      • TabularTestCasesExportSettings

        public TabularTestCasesExportSettings​(java.lang.String exportFilePath)
        The constructor for the common settings of the requirements export of test cases to a CVS or an Excel file.
        For the test cases export to a CSV file use CsvFileTestCasesExportSettings.
        For the test cases export to an Excel file use ExcelFileTestCasesExportSettings.
        Parameters:
        exportFilePath - The path of the target file for the export.
    • Method Detail

      • setWithHeaderline

        public void setWithHeaderline​(boolean withHeaderLine)
        Parameters:
        withHeaderLine - Whether the first line is a header.
      • isWithHeaderLine

        public boolean isWithHeaderLine()
        Returns:
        Whether the first line is a header.
      • setExportGroups

        public void setExportGroups​(boolean exportGroups)
        Parameters:
        exportGroups - Whether test case groups are exported.
      • isExportGroups

        public boolean isExportGroups()
        Returns:
        Whether test case groups are exported.
      • setTestSet

        public void setTestSet​(java.lang.String testSet)
        Parameters:
        testSet - The name of the test set with the contained test cases for the export. If null, all test cases are exported.
      • getTestSet

        public java.lang.String getTestSet()
        Returns:
        The name of the test set with the contained test cases for the export. If null, all test cases are exported.
      • setAssignments

        public void setAssignments​(java.util.List<Pair<java.lang.String,​java.lang.String>> assignments)
        Parameters:
        assignments - The assignment of test cases fields and attributes to export attributes. If null, the default assignments will be used. If a list is given, the export will be restricted to its elements.
      • getAssignments

        public java.util.List<Pair<java.lang.String,​java.lang.String>> getAssignments()
        Returns:
        The assignment of test cases fields and attributes to export attributes. If null, the default assignments will be used. If a list is given, the export will be restricted to its elements.
      • getExportFilePath

        public java.lang.String getExportFilePath()
        Returns:
        The path of the target file for the export.