This topic explains how to configure an automated nightly testing process that sends results to Team Server.
To automate the nightly testing process:

  1. In the GUI, define the Parasoft Test preferences that you want applied across multiple test scenarios.
    • For automated reported, be sure to define settings for e-mail, reports, reports> e-mail notifications, Team Server.
    • For automated task assignment, also define settings for authors, scope and authorship, scope and authorship> authorship mappings.
  2. Define the command line arguments needed to achieve your objectives. Use localsettings as needed to override the GUI preferences if needed.
    • Remember to use the -report command to generate a report and the -publish command to add the report to the Team Server.
  3. Develop a script or batch file to invoke your command line interface commands and perform any additional operations you want automated.
  4. Use a scheduling utility (such as cron or the Windows scheduling program) to run the test at a specified time each night.

Using Parasoft Test with Ant and Maven

The Parasoft Test plugins for Maven and Ant allow you to integrate Parasoft Test actions into your automated build process—facilitating continuous integration and testing. These plugins can invoke any test or analysis action that your Parasoft Test product is licensed to perform (e.g., static analysis, unit test generation, unit test execution, functional testing, peer code review scans, etc.)  They can also execute the Parasoft Build Monitor, which analyzes your build and sends Parasoft Concerto data regarding build warnings, errors, and the number of files successfully compiled.

For details, see http://build.parasoft.com.
  • No labels