# 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?