Skip to main content
When you run tests with /hrtk run, HRTK prints formatted results to the server console (and to the command sender if run in-game). This page explains the output format.

Overall Structure

Status Codes

Each test result is prefixed with a four-character status code:
CodeMeaningDescription
PASSPassedTest completed without assertion failures or exceptions
FAILFailedAn AssertionFailedException was thrown
ERR ErroredAn unexpected exception was thrown (not an assertion)
SKIPSkippedTest was @Disabled or a precondition was not met
TIMETimed OutTest exceeded its timeout duration

Example Output

Plugin Headers

Tests are grouped by plugin. Each plugin gets a header line:

Suite Headers

Within each plugin, tests are grouped by suite:

Failure Messages

When a test fails, the assertion message is shown indented below the test name:
For errors (unexpected exceptions), the exception class and message are shown:

Skip Reasons

Skipped tests show their reason in parentheses:

Summary Line

The final line summarizes the entire run:
This line is also logged to the server logger at INFO level:

Benchmark Output

Benchmark results have a special format with performance statistics:
For batched benchmarks:

Reading Results Efficiently

When scanning console output, look for [FAIL] and [ERR ] lines first. Passed and skipped tests rarely need attention. The summary line at the bottom tells you immediately whether the run was clean.
If you are running tests from in-game, the output is sent as chat messages to the command sender. For detailed output (especially stack traces), check the server console log instead.

Next Steps