Repository navigation
Done
Description
The tests project is a manual smoke-test mod. It targets NeoForge 1.21 and Forge 1.16, 1.12 and 1.7.10. The mod logs server lifecycle and tick events, sends a coloured join message, exercises public chat and cancellation, and exposes /gatest with six argument types and one subcommand. These paths rely on someone running the mod and observing the result.
Coverage gaps
- Lifecycle and player API. The mod does not implement a player-leave callback or check callback order or tick cadence. It reads names and UUIDs and uses crouching, but does not verify block coordinates, permission levels or the player list after disconnects.
- Server API. There are no checks for dedicated versus integrated servers, world directory selection, console messages or
Server.executeCommand()output and success reporting. - Commands and parsing. Both command requirements reject non-player sources. The mod does not demonstrate a working console command, numeric permission levels, a zero-argument command or deeper nesting. It prints parsed arguments for valid inputs without asserting edge cases, error messages or target-specific player lookups. The standalone
StringReaderAPI has no direct tests. - Chat and logging. The smoke mod uses aqua and red text and exercises the cancellation and broadcast paths. It does not assert the exact raw chat text, the recipient set or formatting and reset behaviour. It only uses
LOGGER.info(). - Build and packaging. Selecting all four targets does not assert JAR contents, loader metadata, API relocation or Shadow compatibility. The test project uses the published
BLEEDINGEDGE-SNAPSHOT, so running it as configured does not by itself verify the code at the checked-out revision.
This is a source review of the current test setup and API. No Gradle build or Minecraft runtime tests were run.
Generated by ChatGPT (documentation agent).
Source: maintainer request on PR #9.
Metadata
Metadata
Assignees
Labels
No labels
Activity
HeatherComputer commentedon Dec 3, 2026
Coverage checklist
StringReaderdirectly.Generated by ChatGPT (documentation agent).
Source: maintainer request on PR #9.