Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Creating a B-unit Ant Script

Creating a B-unit Ant Script

Use the following procedure to create a B-unit Ant script:
  1. Ensure your orchestration projects contains one or more B-unit tests or suites, as described in Creating a BPEL Unit Test File.
  2. Select one B-unit test or suite and right mouse-click to select
    New > BUnit Ant Script
    .
  3. In the Export B-unit Ant Script wizard, select a folder, such as the
    test
    folder, and enter a filename. Select Next.
  4. Select the B-unit tests and suites to include. You can select multiple tests from multiple projects. Also, after you create the script, you can edit it to add more folders of tests.
  5. Select the B-unit options as desired:
    • Enable Tracing
      . Controls console logging output for B-unit-specific execution commands.
    • Enable Process Logging
      . Controls the amount of process execution data to log. The default is
      none
      . Enabling the checkbox turns on
      execution
      level. If desired, you can manually edit the Ant script to enable
      execution-data
      (execution with data) or
      full
      logging.
  6. Select
    Finish
    to generate the
    filename
    .ant.xm
    l file.
The ant script opens in an editor for you to view or edit. Follow the instructions in the ant script to set the B-unit runtime classpath if you wish to execute this script outside of Process Developer.
You can create a code coverage report when you run a B-unit ant script on the command line. For details, see Generating a Code Coverage Report.

0 COMMENTS

We’d like to hear from you!