Skip to content

Exploration of behavior based C# unit tests using the instructions to the board game Risk.

Notifications You must be signed in to change notification settings

gregemel/RiskPOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RiskPOC

Exploration of TDD behavior based C# unit tests using the instructions to the board game Risk.

This code represents a personal experiment in expressing behavior based unit tests in C#.
Tenets of SOLID and DRY are used. I used the instructions manual for the board game Risk.
The code is imcomplete (May 2015). There is no graphical user interface and is not a playable game.

The solution is divided into the rules engine and the unit tests.

The rules engine code is devided into models and services.

The unit tests are broken down by events including:

  • At the beginning of the game
  • At the beginning of the player's turn
  • At the end of the player's turn.

About

Exploration of behavior based C# unit tests using the instructions to the board game Risk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages