openl:test

Full name:

org.openl.rules:openl-maven-plugin:5.23.0:test

Description:

Run OpenL tests

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: test.

Required Parameters

Name Type Since Description
<workspaceFolder> File - Directory containing the generated artifact.
Default value is: ${project.build.directory}/openl-workspace.

Optional Parameters

Name Type Since Description
<externalParameters> Map - If you want to override some parameters, define them here.
<reportsDirectory> File - Base directory where all reports are written to. Reports are surefire format compatible.
Default value is: ${project.build.directory}/openl-test-reports.
<reportsFormat> ReportFormat[] - The file format of the test reports. For example junit4 or xlsx.
Default value is: junit4.
<singleModuleMode> boolean - Compile the project in Single module mode. If true each module will be compiled in sequence and tests from that module will be run. Needed for big projects. If false all modules will be compiled at once and all tests from all modules will be run. By default false.
Default value is: false.
<skipTests> boolean - Set this to 'true' to skip running OpenL tests.
User property is: skipTests.
<sourceDirectory> File 5.19.0 Folder that contains all OpenL-related resources (OpenL rules, project descriptor etc.). For example: "${project.basedir}/src/main/openl".
Default value is: ${project.build.sourceDirectory}/../openl.
<testSourceDirectory> File - (no description)
Default value is: ${project.build.testSourceDirectory}/../openl.
<threadCount> String - Thread count to run test cases. The parameter is as follows:
  • 4 - Runs tests with 4 threads
  • 1.5C - 1.5 thread per cpu core
  • none - Run tests sequentially (don't create threads to run tests)
  • auto - Threads count will be configured automatically
Default value is "auto".
Default value is: auto.

Parameter Details

<externalParameters>

If you want to override some parameters, define them here.
  • Type: java.util.Map
  • Required: No

<reportsDirectory>

Base directory where all reports are written to. Reports are surefire format compatible.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/openl-test-reports

<reportsFormat>

The file format of the test reports. For example junit4 or xlsx.
  • Type: org.openl.rules.maven.ReportFormat[]
  • Required: No
  • Default: junit4

<singleModuleMode>

Compile the project in Single module mode. If true each module will be compiled in sequence and tests from that module will be run. Needed for big projects. If false all modules will be compiled at once and all tests from all modules will be run. By default false.
  • Type: boolean
  • Required: No
  • Default: false

<skipTests>

Set this to 'true' to skip running OpenL tests.
  • Type: boolean
  • Required: No
  • User Property: skipTests

<sourceDirectory>

Folder that contains all OpenL-related resources (OpenL rules, project descriptor etc.). For example: "${project.basedir}/src/main/openl".
  • Type: java.io.File
  • Since: 5.19.0
  • Required: No
  • Default: ${project.build.sourceDirectory}/../openl

<testSourceDirectory>

(no description)
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.testSourceDirectory}/../openl

<threadCount>

Thread count to run test cases. The parameter is as follows:
  • 4 - Runs tests with 4 threads
  • 1.5C - 1.5 thread per cpu core
  • none - Run tests sequentially (don't create threads to run tests)
  • auto - Threads count will be configured automatically
Default value is "auto".
  • Type: java.lang.String
  • Required: No
  • Default: auto

<workspaceFolder>

Directory containing the generated artifact.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/openl-workspace