Full name:
org.cornutum.tcases:tcases-maven-plugin:4.0.5:tcases
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<contentType> | String | - | Defines the default content type for files that are read and
produced. The contentType must be one of "json"
or "xml". The default content type is assumed for any file that is
not specified explicitly or that does not have a recognized
extension. If omitted, the default content type is derived from the
input definition file name. User property is: contentType. |
<defaultTupleSize> | Integer | - | If defined, use the given default tuple size for all generators.
This updates the generator definitions specified by the
genDef parameter. User property is: defaultTupleSize. |
<genDef> | String | - | Defines the name for the generator definition file read by Tcases
for an input definition file. This file name may contain at most
one "*" wildcard character, in which case the "*" is replaced by
the project name of the corresponding input definition
file - see the inputDef parameter for details.
The default value is "*-Generators.xml" or "*-Generators.json"
(depending on the contentType). User property is: genDef. |
<html> | boolean | - | If true, generate test cases in the form of an HTML report. Default value is: false. User property is: html. |
<inputDef> | String | - | Defines a single pattern that matches the system input definition
files read by Tcases, relative to the directory specified by the
inputDir. If omitted, the default value matches
all files of the form "*-Input.xml" or "*-Input.json". An input
definition file defines a project name that is used to
form the default names for other associated files. For an input
definition file of the form "${prefix}-Input.xml", the project name
is "${prefix}". Otherwise, the project name is the basename of the
input definition file. User property is: inputDef. |
<inputDefs> | Set | - | Defines a set of patterns that match the system input definition
files read by Tcases. By default, Tcases uses the single pattern
defined by the inputDef parameter. User property is: inputDefs. |
<inputDir> | String | - | Defines the path to the directory where system input definition
files are located. A relative path is applied relative to the
${basedir} of the project. Default value is: ${basedir}/src/test/tcases. User property is: inputDir. |
<junit> | boolean | - | If true, generate test cases in the form of JUnit/TestNG test
methods. Default value is: false. User property is: junit. |
<newSeed> | boolean | - | If true, choose a new random number for all generators. This
updates the generator definitions specified by the
genDef parameter. Default value is: false. User property is: newSeed. |
<newTests> | boolean | - | If true, ignore any initial test definitions. Otherwise, generate
new test definitions that extend the initial test definitions found
in the file defined by the testDef parameter. Default value is: false. User property is: newTests. |
<outDir> | String | - | Defines the path to the directory where Tcases output is written. A
relative path is applied relative to the
${project.build.directory} of the project. Default value is: ${project.build.directory}/tcases. User property is: outDir. |
<outFile> | String | - | Defines the name for the output file generated by Tcases from an
input definition file. This file name may contain at most one "*"
wildcard character, in which case the "*" is replaced by the
project name of the corresponding input definition file -
see the inputDef parameter for details. The
default value is "*-Test.xml" or "*-Test.json" (depending on the
contentType) or, if the
junit parameter is true, "*Test.java". User property is: outFile. |
<project> | String | - | A short-hand form of the inputDefs parameter
that makes it easier to select the system input definition for a
specific project. Equivalent to setting
inputDefs to
∗∗/${project}-Input.xml,∗∗/${project}.xml,∗∗/${project}-Input.json,∗∗/${project}.json. User property is: project. |
<seed> | Long | - | If defined, use the given random number for all generators. This
updates the generator definitions specified by the
genDef parameter. User property is: seed. |
<showEffectiveInput> | boolean | - | If true, no test definitions are produced. Instead, a JSON document
containing the effective system input definition is written to the
outDir. The effective system input definition,
which is used to generate test definitions, is the result of
normalizing all input schemas and adding any schema-derived value
definitions. Default value is: false. User property is: showEffectiveInput. |
<testDef> | String | - | Defines the name for the initial test case definition files read by
Tcases for an input definition file. This file name may contain at
most one "*" wildcard character, in which case the "*" is replaced
by the project name of the corresponding input definition
file - see the inputDef parameter for details.
The default value is "*-Test.xml" or "*-Test.json" (depending on
the contentType). User property is: testDef. |
<transformDef> | String | - | Defines the path to the transform file applied by Tcases to the
output for an input definition file. A relative path is applied
relative to the directory containing the corresponding input
definition file. This path name may contain at most one "*"
wildcard character, in which case the "*" is replaced by the
project name of the corresponding input definition file -
see the inputDef parameter for details. User property is: transformDef. |
<transformParams> | Map | - | Defines values for the transform parameters used by the transform
file. User property is: transformParams. |