-
To execute methods from the InterSdk, an external application that includes it as a project dependency is required.
-
To verify that a method is functioning correctly, you can run the functional tests included in the project. These tests can be found in the directory
src/main/java/functests/FunctionalTestRunner.java.
Running Functional Tests
- Ensure that you have the necessary dependencies set up in your project.
- Navigate to the
functestsdirectory. - Execute the
FunctionalTestRunner.javafile to run the tests and check for correct method execution. - Review the output to confirm that all tests pass successfully.
This approach will help you ensure that the integration with the InterSdk is working as intended.
This project uses Maven as dependency manager. Use the Maven binary to run the following command:
$ ./mvnw clean package
The compilation will create two files in the target/ directory:
- inter-sdk-java-2.0.0-IA
- inter-sdk-java-2.0.0-IA-jar-with-dependencies
The binary we're interested in contains all the necessary dependencies. Therefore, the relevant file is inter-sdk-java-2.0.0-IA-jar-with-dependencies.