lobbyKit.testSuite
README.md
lobbyKit tests
Run with tools.use("tests", "run", { suite = "lobbyKit" }) in edit mode. Covers the teams, the lobby roster as people come and go, picking teams, polite refusals and maxDifference, auto, rebalancing, the ready check, spectators and the next round, spawn slots, the ready check driving a MatchFlow hold (count down, stop on un-ready), team scoring through MatchFlow entries with the team winning, the lobby and scoreboard data, every lobby style, scoreboard and spectator HUD rendering in every look and on a phone, the spectator bars sitting at the very top and bottom edges (past a phone's system bars) in every mode, the match HUD's layers each filling the screen, an open gallery covering the match HUD, the catalog and the front door. Networking is not simulated here: two-machine behaviour is checked by hand (see the package README).