Testing

Testing Web Apps With Selenium, Explorer and .NET

Testing Web Apps With Selenium, Explorer and .NET

Here are the steps to run your Selenium tests against Internet Explorer. Create the tests Install Selenium IDE from http://seleniumhq.org Record your tests in Firefox using the Selenium IDE Click File > Create New Test Click the record button and create your test Click the record button to stop the test Save your test Click(…)

A Good TDD Process Diagram?

A Good TDD Process Diagram?

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(…)

Mocking and Dependency Injection in ASP.NET MVC

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(…)