Skip to content

Horizon-QA

End-to-end testing for GT New Horizons

Horizon-QA brings a GameTest-style API to Minecraft 1.7.10. It runs real multiblocks, recipes, logistics, and cross-mod interactions on a development server, with local diagnostics and CI reports built in.

  • Forge 1.7.10
  • Java 8 bytecode
  • Interactive and CI execution

Negative formation test

@GameTest(
    template = "ebf_no_coils",
    timeoutTicks = 60
)
public static void rejectsMissingCoils(
    GameTestHelper helper
) {
    helper.gtnh()
        .multiblock(helper.pos("controller"))
        .assertNeverForms(
            "EBF formed without coils");
}

The exported fixture is real, GregTech performs the structure check, and the invariant is observed for the complete test window.

Choose a path

Use Horizon-QA


Follow a short, linear path from dependency setup to one passing test:

  1. Add Horizon-QA to your mod
  2. Write your first test
  3. Run it locally or in CI

Open the getting-started path →

Understand the framework


Learn what runs on the server and where the testing boundaries are:

Explore the learning path →

What it helps you validate

  • Machine formation Catch incomplete, invalid, or rotation-sensitive multiblocks.
  • Recipes and maintenance Verify start conditions, processing, output, and maintenance gating.
  • Logistics and compatibility Exercise item, fluid, tile-entity, and cross-mod contracts.
  • Transient behavior Detect forbidden states that appear for only one server tick.

Designed for useful failures

Tests can keep failed cells available for inspection, point overlays at relevant blocks, and attach an ordered event trace to reported results. CI runs produce JUnit XML and status JSON with stable exit codes.

Use the guides when solving a testing task, or go directly to the reference when you already know which API, command, or property you need.

Clean-room implementation

Horizon-QA is an independent implementation inspired by modern GameTest ergonomics. It does not contain decompiled Mojang source. Framework contributors should read the clean-room policy.