I am pretty new to testing your codes using nunit and rhino.mocks. i am having lots of problems and thank to Tom Opgenorth, i solve each of these slowly. From today, i will be sharing the difficulties i have in my TDD world. I am pretty new to testing, so a
To test every single function in your code, the whole programming paradigm has to change. you have to break your code into smallest available pieces that allows to you to write test functions. It seemed to me at the beginning that you lose some performance doing so but with today's hardware, you concentration should be on maintable, working, bug free, tested code. So in the next posting, i will share one of my simple class, and how i used nunit to test simple things.