Skip to content

javaxt-project/javaxt-core-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaXT Core Test Project

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:

  1. javaxt-core-build: Builds the javaxt-core library using sources from a local directory or GitHub
  2. javaxt-core-test: Runs test scripts

Building the Project

Build All Modules (Default Branch)

mvn clean install

Build with Specific Branch

# 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 with Local javaxt-core Directory

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

Running Tests

Run All Tests (Default Branch)

mvn test

Run Tests with Specific Branch

# 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 with Local javaxt-core Directory

# 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

Contributing

When adding new tests:

  1. Place test classes in the appropriate package under javaxt-core-test/src/test/java/
  2. Follow the existing naming conventions
  3. Include comprehensive test coverage for edge cases
  4. Add any additional resources to javaxt-core-test/src/main/resources/

About

Used to test the javaxt-core library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages