Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Integration Test for user input to game state interaction #18

Open
amw-zero opened this issue Jul 23, 2017 · 0 comments
Open

Create Integration Test for user input to game state interaction #18

amw-zero opened this issue Jul 23, 2017 · 0 comments

Comments

@amw-zero
Copy link
Owner

The most important interaction in the game is between the InputStateMachine and the GameState. The InputStateMachine parses user input, and produces command messages that the GameState uses to mutate its internal state. Right now, they are both tested independently, but there's nothing that tests the full flow: The InputStateMachine producing GameStateCommands that result in the expected GameState mutations. It would be great to have this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant