From: Carl Worth Date: Thu, 11 Jun 2020 19:11:45 +0000 (-0700) Subject: test: Add initial testing for the Empathy game X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8fb1176fb345a5a76610bb79192fa1e84496c08c;hp=8fb1176fb345a5a76610bb79192fa1e84496c08c;p=empires-server test: Add initial testing for the Empathy game Two general techniques that are introduced here that will be useful for testing of other games: * Registration of multiple user and events sent from each (see multiple cookies and a player-cookie parameter for many empathy_* functions) * Fishing events out of the event stream in response to client requests (see curl_get_event) This testing gets as far as is currently implemented in the server: Multiple player join, a category is submitted and voted one, the game starts, all players submit answers, players receive words to judge, and players submit word groups to capture the results of their judging. What's not yet tested is the next phase that's also not implemented yet: The server using the submitted word groups to affect the scoring. ---