While trying to figure out how to make a full featured implementation of ContextMock builder based solely on Moq in order to make unit tests for an implementation of IActionFilter I stumbled upon a problem :
System.NotSupportedException Invalid setup on a non-virtual (overridable in VB) member: x => x.Values
Continue reading “Mocking HttpContext when testing IActionFilters in MVC”
When you get to the point of understanding that you do not have a lifetime to spend on F5 debugging/testing and you want to be a better developer ( I beg you to get it now! ), you should ask : How to learn Test Driven Development or Behavior Driven Development? Where are the best resources?
Note : Do I declare that I have the deepest, most structured and refine knowledge about the topic? Nope. I say this in the begging in order to avoid irrelevant and inconsiderate comments.
Continue reading “How to start learning Test Driven Development or Behavior Driven Development?”