-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Much of the base framework has matured to the point it should be unit tested.
Here's a vague list of things that would be possible to test:
- Networking I/O
- RESTful API
- Delta parsing/creation
- Matured games like Chess
I think it would be unwise to unit test in development games, as they are evolving so fast we don't necessarily know what to test. However, a known game like Chess could be tested by sending pre-determined moves and ensuring that the game state changes in expected ways.
Unit testing the game server would be tricky as it's only half of the problem. There's also a client you have to connect to do much of anything, and if that is broke the unit tests could break, claiming the game server is wrong.
So, someone should investigate how easy testing is to add, and if it even works reliably.
Reactions are currently unavailable