A A
RSS

Tag Archive | "tdd"

A Good TDD Process Diagram?

Monday, September 22, 2008

Comments

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 and [...]

Property Injection in ASP.NET MVC with Ninject

Friday, August 29, 2008

Comments

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 [...]

Mocking and Dependency Injection in ASP.NET MVC

Wednesday, August 27, 2008

Comments

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 the email, [...]

The Best JavaScript Library

Sunday, August 10, 2008

Comments

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 [...]

Unit Test Private Methods in Visual Studio

Wednesday, July 9, 2008

Comments

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 [...]

Advertise Here

What I'm Doing...

Yonkly Open Source

Sign up for my newsletter

powered by MailChimp!

Cyber Identity