A A
RSS

Archive | Testing

Testing Web Apps With Selenium, Explorer and .NET

Monday, January 19, 2009

Comments

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 Options > Format > C# to get [...]

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

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