This project is read-only.
1
Vote

Unit Tests Needed

description

This project was created before I learned TDD concepts.
Unit Tests need to be added.

comments

srsyogesh wrote Jun 22, 2013 at 7:16 AM

I think if we need TDD atl east unit test , then most of the place we need Dependency injection and it works very well with Interface , this might need a quite refactoring in code . I have experience in Nunit and Rhino mock (both are free ware) , shall we use the same or do you have any other suggestion ?

Swyish wrote Jun 22, 2013 at 1:47 PM

Dependency injection is somewhat already in use. Even though we are not using IoC container at this moment, all the service classes are injected as parameter to chessgame class's constructor.

I am familiar with Nunit and MoQ but I would not mind using something else!
I do agree we need quite refactoring in code!!