You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
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.
The text was updated successfully, but these errors were encountered: