JSR 385 - Technology Compatibility Kit (TCK)
This module contains the technology compatibility kit of JSR 385.
To setup the TCK with your implementation you must follow the following steps:
- Create a new Maven project. You could also use compatible alternatives like Gradle.
- Add this TCK and your implementation as dependency.
- Implement a class of type tech.units.tck.TestSetup, read the Javadoc, what you must provide with this class.
To run the TCK, simply execute
mvn clean test
- Go to target - where you can find your TCK test results.
For help on using the TCK you may execute
This will only print instructions, to run the TCK you need to execute it through TestNG.
To get version information you may execute
The JSR is lead by Jean-Marie Dautelle (@dautelle), Werner Keil (@keilw) and Otavio Santana (@otaviojava).
mvn exec:java -Pversion
You can access the API by adding the following Maven dependencies:
For JSR 363 use
<dependency> <groupId>tech.units</groupId> <artifactId>unit-tck</artifactId> <version>2.1</version> </dependency>
Further versions can be found here.
Release artifacts should be accessible from the following repositories:
- Maven Central
- JCenter by Bintray