I am trying to create a flow diagram that depicts the Test Driven Development process and I need your expertise/opinion/criticism in nailing it down. Take a look below and let me know what is wrong, what is right and what can be done better. I drew the above diagram based on my understanding of TDD [...]
I got a design challenge with asp.net mvc. I want to keep track of the currently logged in user in the session because I don’t want to hit the database every time I need to get the username or id for a query. And I have all my controllers inherit from a base controller named [...]
Here is the situation, my controller constructors take multiple interfaces as parameters. I do this in order to use constructor injection which allows me to inject the controllers with mocked objects in my unit tests. For example, my AccountController takes IEmailService, IFormsAuthentication and MembershipProvider (abstract class) as parameters. During my testing, I want to mock [...]
I am in the process of creating a new web application using asp.net mvc and I am trying to choose the best JavaScript library to use. I am pretty much sure that I am going to go with jQuery but nonetheless I wanted to review the libraries out there. One reason is that I am [...]
I am working on a feature that will let me import twitter messages to yonkly and wanted to write a test for it. The method is private and I couldn’t get the unit test to see it. I also didn’t want to use the private accessor class generate by Visual Studio because I was mocking [...]
Monday, September 22, 2008
View Comments