Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "BaSyx / Documentation / Technology Compatibility Kit"

(Created page with "== Technology Compatibility Kit == With the TCK of the BaSyx Java SDK, the user can use it to test the compatibility between a particular self-implemented BaSyx-component an...")
 
(Technology Compatibility Kit)
Line 4: Line 4:
 
With the TCK of the BaSyx Java SDK, the user can use it to test the compatibility between a particular self-implemented BaSyx-component and the Basyx SDK.
 
With the TCK of the BaSyx Java SDK, the user can use it to test the compatibility between a particular self-implemented BaSyx-component and the Basyx SDK.
  
The TCK of the BaSyx java SDK is a multi-module project, which generates the
+
The TCK project basyx.tck of the BaSyx Java SDK is a multi-module project, whose modules use the per-defined JUnit testsuites to test the corresponding component.  
The user can use the test module of the basyx.tck to test hsi own BaSys component.
+
For example, to set up a test for the AAS registry with the mdoule basyx.tck.registry of the basyx.tck, following steps are performed:
For example, to set up a test for the AAS registry with the mdoule basyx.registry of the basyx.tck.
+
# The user should first start his own SQL registry, which is hosted on a server.
The user should first start its own registry.
+
# In the module basyx.tck.registry, the class '''RegistryProviderTestApplication.java''' in the package '''org.eclipse.basyx.testsuite.regression.aas.registration''' provides the main-class to test the registry with its URL.
 
+
To generate a runnable Jar-file of a certain test module, execute the following maven command for the module basyx.tck.registry:
 
+
To generate a runnable Jar-file of a certain test module, execute the following maven command:
+
 
   mvn clean compile test-compile assembly:single
 
   mvn clean compile test-compile assembly:single
 +
# To execute the Jar file, run the following command:
 +
  java -jar $JAR_NAME $HTTP_PFAD

Revision as of 09:06, 7 August 2020

Technology Compatibility Kit

With the TCK of the BaSyx Java SDK, the user can use it to test the compatibility between a particular self-implemented BaSyx-component and the Basyx SDK.

The TCK project basyx.tck of the BaSyx Java SDK is a multi-module project, whose modules use the per-defined JUnit testsuites to test the corresponding component. For example, to set up a test for the AAS registry with the mdoule basyx.tck.registry of the basyx.tck, following steps are performed:

  1. The user should first start his own SQL registry, which is hosted on a server.
  2. In the module basyx.tck.registry, the class RegistryProviderTestApplication.java in the package org.eclipse.basyx.testsuite.regression.aas.registration provides the main-class to test the registry with its URL.
  3. To generate a runnable Jar-file of a certain test module, execute the following maven command for the module basyx.tck.registry:
  mvn clean compile test-compile assembly:single
  1. To execute the Jar file, run the following command:
  java -jar $JAR_NAME $HTTP_PFAD

Back to the top