From 200a40b332420f94992eb39a6d0ea1cf1490ffc4 Mon Sep 17 00:00:00 2001 From: coreyg Date: Fri, 21 Nov 2014 09:30:19 +0000 Subject: Adding tuscany's website to their svn repo for svnpubsub git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1640879 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugins/tuscany-itest-plugin/test-mojo.html | 255 +++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 site/trunk/site-publish/plugins/tuscany-itest-plugin/test-mojo.html (limited to 'site/trunk/site-publish/plugins/tuscany-itest-plugin/test-mojo.html') diff --git a/site/trunk/site-publish/plugins/tuscany-itest-plugin/test-mojo.html b/site/trunk/site-publish/plugins/tuscany-itest-plugin/test-mojo.html new file mode 100644 index 0000000000..a6fd81c682 --- /dev/null +++ b/site/trunk/site-publish/plugins/tuscany-itest-plugin/test-mojo.html @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + Apache Tuscany Integration Test Plugin - + tuscany-itest-plugin - tuscany-itest:test + + + + + + + +
+ +
+
+
+ + + +

tuscany-itest:test

+

Integration-tests an SCA composite by running it in local copy of Apache Tuscany +and calling JUnit-based test components to exercise it.

+

Mojo Attributes:

    +
  • Requires a Maven 2.0 project to execute.
  • +
  • Automatically executes within the lifecycle phase: integration-test
  • +
+

+

Required Parameters

+ + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
testClassesDirectoryFileThe directory containing generated test classes of the project being tested.
testComponentNameStringThe name of the component that will be implemented by the test harness composite.
testDomainStringThe SCA domain in which to deploy the test components.
+
+

Optional Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reportsDirectoryFileThe directory where reports will be written.
systemScdlURLThe location of the SCDL that configures the Apache Tuscany runtime. +This allows the default runtime configuration supplied in this plugin +to be overridden.
testScdlFileThe location if the SCDL that defines the test harness composite. +The source for this would normally be placed in the test/resources +directory and be copied by the resource plugin; this allows property +substitution if required.
trimStackTracebooleanWhether to trim the stack trace in the reports to just the lines within +the test, or show the full trace. Default value is true.
+
+

Parameter Details

+

reportsDirectory

+

The directory where reports will be written.

+
    +
  • Type: java.io.File
  • +
  • Required: No
  • +
  • Expression: ${project.build.directory}/surefire-reports
  • +

systemScdl

+

The location of the SCDL that configures the Apache Tuscany runtime. +This allows the default runtime configuration supplied in this plugin +to be overridden.

+
    +
  • Type: java.net.URL
  • +
  • Required: No
  • +

testClassesDirectory

+

The directory containing generated test classes of the project being tested.

+
    +
  • Type: java.io.File
  • +
  • Required: Yes
  • +
  • Expression: ${project.build.testOutputDirectory}
  • +

testComponentName

+

The name of the component that will be implemented by the test harness composite.

+
    +
  • Type: java.lang.String
  • +
  • Required: Yes
  • +
  • Expression: testHarness
  • +

testDomain

+

The SCA domain in which to deploy the test components.

+
    +
  • Type: java.lang.String
  • +
  • Required: Yes
  • +
  • Expression: itest://localhost/testDomain/
  • +

testScdl

+

The location if the SCDL that defines the test harness composite. +The source for this would normally be placed in the test/resources +directory and be copied by the resource plugin; this allows property +substitution if required.

+
    +
  • Type: java.io.File
  • +
  • Required: No
  • +
  • Expression: ${project.build.testOutputDirectory}/itest.scdl
  • +

trimStackTrace

+

Whether to trim the stack trace in the reports to just the lines within +the test, or show the full trace.

+
    +
  • Type: boolean
  • +
  • Required: No
  • +
  • Expression: ${trimStackTrace}
  • +
  • Default: true
  • +
+
+
+ + +
+
+
+
+
+ + + -- cgit v1.2.3