From 132aa8a77685ec92bc90c03f987650d275a7b639 Mon Sep 17 00:00:00 2001 From: lresende Date: Mon, 30 Sep 2013 06:59:11 +0000 Subject: 2.0.1 RC1 release tag git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1527464 13f79535-47bb-0310-9956-ffa450edef68 --- .../samples/running-tuscany/junit/README.html | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sca-java-2.x/tags/2.0.1-RC1/samples/running-tuscany/junit/README.html (limited to 'sca-java-2.x/tags/2.0.1-RC1/samples/running-tuscany/junit/README.html') diff --git a/sca-java-2.x/tags/2.0.1-RC1/samples/running-tuscany/junit/README.html b/sca-java-2.x/tags/2.0.1-RC1/samples/running-tuscany/junit/README.html new file mode 100644 index 0000000000..00d6592cb8 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1-RC1/samples/running-tuscany/junit/README.html @@ -0,0 +1,39 @@ + + + +- no title specified

Running the Tuscany runtime from JUnit

 

The same Node API used to start the Tuscany runtime from Java can of course also be used from within a JUnit test case. This allows you to automatically test you SCA contributions. This sample uses the same sart-up code from the jse sample but this time inside:

 

   launcher.LaunchCalculatorContributionTestCase.java

 

This JUnit test case can be run using you usually use to run JUnit tests. By default Maven will run JUnit tests for a module so this sample can be run by doing the following:

 

cd junit

mvn

 

TODO – should we provide run-sample scripts. If so we need to ship JUnit or provide instructions on how to install it?

\ No newline at end of file -- cgit v1.2.3