game_scaffold_test library

Classes

GameTester<T extends Game<Event>>
GameTester lets you test an event and check it's outcome

Functions

testGame<T extends Game<Event>>(String testName, {required GameConfig config, required List<Player> players, required Future<void> test(GameTester<T>)}) → void
Tests the game with T type in a group with name and test named name + '_Tests'