Documentation
¶
Overview ¶
Package testhelpers provides utilities for testing GoMud components
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRaceForTesting ¶
AddRaceForTesting adds a race directly to the races map for testing purposes. This bypasses the normal file loading mechanism.
func CleanupTestRaces ¶
func CleanupTestRaces()
CleanupTestRaces removes all test races from the races map. This should be called in test cleanup to avoid polluting other tests.
func InitializeTestRaces ¶
func InitializeTestRaces()
InitializeTestRaces sets up minimal race data for testing combat and other systems that depend on race information. This should be called in test init() functions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.