Skip to content

AGameTestPlatform

expect object AGameTestPlatform

Cross-loader GameTest integration point.

Implementations detect whether GameTest mode is active and collect test classes per mod.

Properties

isGameTest

expect val isGameTest: Boolean

true when the current process is running under a GameTest task (runGametest/runGametestClient).

side

expect val side: AGameTestSide?

Active logical side for this GameTest run (supports launcher/property overrides).

Functions

register

expect fun register(clazz: Class<*>, mod: Mod)

Register a test class for mod when GameTest bootstrapping occurs.