com.ibm.rational.test.lt.testgen.core.configuration

Class TestGenerationConfiguration

    • Field Detail

      • RECORDING_SESSION_FILE_PROPERTY

        public static final String RECORDING_SESSION_FILE_PROPERTY
        This String property defines the workspace absolute path of the input recording session to be consumed by the test generation. This property is required.
      • OUTPUT_TEST_PROPERTY

        public static final String OUTPUT_TEST_PROPERTY
        This String property defines the workspace absolute path of the output test to be produced by the test generation. It should not contain the file extension, since the extension depends on whether the test generator produces a test suite or a schedule. However if it contains an extension, the extension may be changed accordingly. Either this property or TestGenerationConfiguration.OUTPUTS_TEST_PROPERTY is required, unless TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY is set to true. If both are specified, the original unsplit test will be generated under the file specified by this property. In addition, all outputs must reside under the same project (but not necessarily under the same folder).
      • OUTPUTS_TEST_PROPERTY

        public static final String OUTPUTS_TEST_PROPERTY
        This String List property defines the workspace absolute paths of the output tests to be produced by the test generation. It may not contain the extension, in which case the appropriate extension will be appended. However if it contains an extension, the extension may be changed accordingly. Either this property or TestGenerationConfiguration.OUTPUT_TEST_PROPERTY is required, unless TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY is set to true. Note that the count of items should match the count of test pieces that will be generated. This count is equal to the number of Split test annotations plus one (taking into account any annotation override that may have been defined in this configuration). The list may contain empty string or null items, indicating that the corresponding piece of recording should be ignored. All values, if not null or empty, must refer to files that are located under the same project. This constraint also applies the TestGenerationConfiguration.OUTPUT_TEST_PROPERTY property if it also specified.
      • OUTPUT_SCHEDULE_PROPERTY

        public static final String OUTPUT_SCHEDULE_PROPERTY
        This String property defines the workspace absolute path of the output schedule to be produced by the test generation. It should not contain the file extension, since the extension depends on whether the test generator produces a test suite or a schedule. However if it contains an extension, the extension may be changed accordingly. In addition, all outputs must reside under the same project (but not necessarily under the same folder).
      • CONVERSION_RESULT_PROPERTY

        public static final String CONVERSION_RESULT_PROPERTY
        This String property defines the workspace absolute path of the a recording session file that contains the result of the conversion of the input recording session, after its contents has been passed through all packet converters configured in the Test Generation Configuration. This property is optionally, and should be used for debugging purposes.
      • AUTO_DATA_CORRELATION_PROPERTY

        public static String AUTO_DATA_CORRELATION_PROPERTY
        This boolean property defines whether data correlation should automatically be performed on each generated test. Default value: true. This value is automatically set according to the TestGenUI preferences if the testgen configuration is produced by one of the TestGenUI wizards/dialogs.
      • DATA_TRANSFORMER_IDS

        public static String DATA_TRANSFORMER_IDS
        This string property defines the id of the data transformer that should invoked after all test generators have completed. Do not specify if no data transformation is required.
      • DO_IMPLIED_DC_RULES

        public static String DO_IMPLIED_DC_RULES
        This string property indicates whether the transfomer-implied data correlation rules have to be applied after all others data correlations in case the transfomer has been successfully applied on any test element.
      • AUTO_DATA_CORRELATION_NAMES_PROPERTY

        public static String AUTO_DATA_CORRELATION_NAMES_PROPERTY
        This boolean property defines whether data correlation names should be automatically computed. Applicable only if the option TestGenerationConfiguration.AUTO_DATA_CORRELATION_PROPERTY is set to true. Default value: true. This value is automatically set according to the TestGenUI preferences if the testgen configuration is produced by one of the TestGenUI wizards/dialogs.
      • RULES_DATA_CORRELATION_PROPERTY

        public static String RULES_DATA_CORRELATION_PROPERTY
        This boolean property indicates whether some rules files are to be executed at the end of the test generation. Default value: true.
      • RULES_GENERATES_LOGS_PROPERTY

        public static String RULES_GENERATES_LOGS_PROPERTY
        This boolean property indicates whether rules applied on test suite should generate logs or not or use fixed log level constraint (@see DCRulesWizardPage for explanation about value)
      • RULES_INPUTS

        public static String RULES_INPUTS
        This map property contains inputs to be passed to data correlation rules.
      • DATA_CORRELATION_RULES_FILE_LIST_PROPERTY

        public static String DATA_CORRELATION_RULES_FILE_LIST_PROPERTY
        This list of String property defines the list of dcrules files that have to be sequentially executed at the end of the test generation. Applicable only if the option TestGenerationConfiguration.RULES_DATA_CORRELATION_PROPERTY is set to true. Default value: empty.
      • LOG_DEBUG_MESSAGES

        public static final String LOG_DEBUG_MESSAGES
        A boolean specifying that debug messages issued by test generator components should be logged to eclipse error log as information messages. Default value: false.
      • HIDE_UNCONSUMED_PACKETS_WARNING_PROPERTY

        public static final String HIDE_UNCONSUMED_PACKETS_WARNING_PROPERTY
        A boolean specifying that the warning concerning unconsumed packets will be hidden or not Default value: false.
    • Constructor Detail

      • TestGenerationConfiguration

        public TestGenerationConfiguration()
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.