Geeks With Blogs
Lee Brandt's Blog You're only as smart as your last line of code January 2011 Entries
Fake It Easy On Yourself
I have been using Rhino.Mocks pretty much since I started being a mockist-type tester. I have been very happy with it for the most part, but a year or so ago, I got a glimpse of some tests using Moq. I thought the little bit I saw was very compelling. For a long time, I had been using: 1: var _repository = MockRepository.GenerateMock... 2: _repository.Expect(repo=>... 3: var _controller = new SomeKindaController(_reposi... 4: 5: ... some exercising ......

Posted On Thursday, January 13, 2011 10:58 PM

Copyright © Lee Brandt | Powered by: GeeksWithBlogs.net