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

Class TestGenerator

    • Method Detail

      • generateTest

        public LTTest generateTest(IProgressMonitor monitor)
                            throws CoreException
        Performs test generation and returns the main output test (i.e. the test without any split). This is a long running operation, that should be typically run in a workspace operation that (at least) includes the files returned by TestGenerator.getOutputFiles().
        Parameters:
        monitor - A progress monitor.
        Returns:
        The main test that was generated, or null if the operation was cancelled.
        Throws:
        CoreException - If a problem occurs, because of I/O issue, because the recording session is invalid, or because a contributor (test generator or converter) reported a fatal error.
      • getOutputFiles

        public List<IFile> getOutputFiles()
        Returns the files generated by the test generation process. This method can be called even before test generation occurs.
        Returns:
        the files generated by the test generation process. This list may be empty if no output has been specified (see TestGenerationConfiguration.NO_FILE_OUTPUT_PROPERTY).
      • getConfiguration

        public final TestGenerationConfiguration getConfiguration()
        Returns the test generation configuration performed by this test generator.
        Returns:
        the test generation configuration performed by this test generator.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.