From 531b690ade86ecfd7bd108df5d7ed5702cd5a91b Mon Sep 17 00:00:00 2001 From: Ryan Barlow <7389646+ryanbarlow97@users.noreply.github.com> Date: Thu, 8 Oct 2026 19:00:58 +0000 Subject: [PATCH] docs: refresh README and testing guidance --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 32979cb..f2345a4 100644 --- a/README.md +++ b/README.md @@ -24,23 +24,13 @@ Technical documentation is maintained in [TF-Minecraft/Docs](https://github.com/ ## Tests -Install the pinned shared plugin dependencies, download the private build -inputs, then run the build with Java 21. In Bash: - -```bash -python3 path/to/TLibs/tools/install-plugins.py --pom pom.xml --mode pinned && - (read -rsp 'ServerAssets token: ' GH_TOKEN && echo && export GH_TOKEN && - bash .github/scripts/prepare-release.sh) && - mvn clean verify -``` - -The installer comes from a separate TLibs checkout -(`git clone https://github.com/TF-Minecraft/TLibs.git`); point `path/to/TLibs` at it. The token needs Contents read access -to TF-Minecraft/ServerAssets. The prompt keeps it out of shell history, the -subshell keeps it out of your session and Maven, and Maven only runs if both -preparation steps succeed. CI supplies it from `DEPS_TOKEN`. - -Tests use JUnit and Mockito and run without a live Minecraft server. +With Java 21 and the [build dependencies](https://github.com/TF-Minecraft/Docs/blob/main/projects/BarterShops/README.md#build-and-dependencies) prepared, +run `mvn clean verify`. + +JUnit 5 and Mockito cover sign creation, trades, storage and embargo handling. +Surefire writes results to `target/surefire-reports/`, which the Build workflow +uploads. No coverage report or threshold is configured. The suite runs without +a live Minecraft server or the real economy and faction plugins. ## License