This project is used to test the javaxt-core library, providing test coverage for various components and utilities.
The project consists of two main modules that work together to test the javaxt-core library:
- javaxt-core-build: Builds the javaxt-core library using sources from a local directory or GitHub
- javaxt-core-test: Runs test scripts
mvn clean install
# Build using a specific branch (e.g., 'dev')
mvn clean install -Djavaxt.core.branch=dev
# Build using a feature branch
mvn clean install -Djavaxt.core.branch=feat/54
# Build using a specific commit/tag
mvn clean install -Djavaxt.core.branch=v1.11.3
# Build using local javaxt-core source directory
mvn clean install -Djavaxt.core.local.dir=/path/to/javaxt-core/src
# Example with Windows path (point to src directory)
mvn clean install -Djavaxt.core.local.dir=C:\path\to\javaxt-core\src
Note: The local directory should point to the source directory containing the javaxt-core Java files (typically the src
directory), not necessarily a Maven project. The files will be copied and compiled directly in the test project.
mvn test
# Run tests against a specific branch
mvn test -Djavaxt.core.branch=dev
# Run tests against a feature branch
mvn test -Djavaxt.core.branch=feat/54
# Run tests against local javaxt-core source
mvn test -Djavaxt.core.local.dir=/path/to/javaxt-core/src
# Example with Windows path (point to src directory)
mvn test -Djavaxt.core.local.dir=C:\path\to\javaxt-core\src
When adding new tests:
- Place test classes in the appropriate package under
javaxt-core-test/src/test/java/
- Follow the existing naming conventions
- Include comprehensive test coverage for edge cases
- Add any additional resources to
javaxt-core-test/src/main/resources/