AndroMDA Cartridge Maven Plugin Settings

cartridge:test

Property Required Description
andromda.cartridge.test.configuration.uri Yes The URI to the AndroMDA configuration file (this configures AndroMDA for the test model generation).
andromda.cartridge.howto.configuration.uri Yes The URI to the AndroMDA configuration file (this configures AndroMDA for the how-to model generation).
andromda.cartridge.printreport No

If this value is set to false, test run details will appear on the console as the tests are executed. If not, they are stored in a file in the test-reports directory. Default value is true.

andromda.cartridge.test.archive No, default is ${maven.src.dir}/test/expected/cartridge-output.zip

Specifies the location of the comparable archive. This archive will be extracted and used for comparison against the output defined by andromda.cartridge.test.output.dir

andromda.cartridge.test.actual.dir No, default is ${maven.build.dir}/cartridge-test/actual.

Specifies the location of the output that will be compared against the files extracted from the andromda.cartridge.test.archive.

andromda.cartridge.extra.binary.file.suffixes No, default is jpg,jpeg,gif,png,jar,zip Specifies any additional, file suffixes which will be compared as binary, by default jpg,jpeg,gif,png,jar,zip are already included. If the file suffix is not specified the files will be compared as Strings.

Including additional test dependencies

Its possible to include additional dependencies for cartridge tests, to do this, you must add the <cartridge.testDependency/> property to the <properties/> section of the dependency (or else it will be ignored), like the example below.

<
dependency
> <
groupId
>andromda<
/groupId
> <
artifactId
>andromda-ocl-query-library<
/artifactId
> <
version
>${pom.currentVersion}<
/version
> <
properties
> <
cartridge.testDependency/
> <
/properties
> <
/dependency
>