rustinlee / openmafia

simple online version of the party game Mafia
The Unlicense
15 stars 14 forks source link

Investigate automated tests #4

Open rustinlee opened 8 years ago

rustinlee commented 8 years ago

It would be nice to have unit testing/CI for some of the game logic but I have zero experience with that and don't really know where to start. I think a good starting point would be simulating a classic mafia game where the computers follow a set voting pattern and we analyze the outcome to make sure it matches what should logically happen. This general test pattern could be copied for different configurations with special roles to make sure they are functioning properly.