Category Archives: Test

Why you should TDD

In a recent code review I noticed a bug that was undetected by the unit tests. Read: all tests passed, but the code was wrong. When asked the developer confessed the unit tests were created after the code was created. … Continue reading

Posted in Test | Tagged , | Leave a comment

TDD for JavaScript

My TDD workshop is a demo with Visual Studio 2012, Team Foundation Express and C#. The concept of Test Driven Development goes beyond the tooling or language. Here is a toolset to do TDD for JavaScript. The Yahoo library (YUI) … Continue reading

Posted in Test | Tagged , , , , , , | Leave a comment

My Maintainable Automated UI Tests

Original post By Mehdi Khalili on 9 Oct 2013 hereI just modified it to best suit my needs. Mehdi Khalili uses Selenium webdriver to do an automated UI test. The key of the post is to see the test code … Continue reading

Posted in Test | Tagged , , , , , , , | 3 Comments

Nuget trouble (again)

Keeping the versions of packages in sync was difficult today, again. Now I tried testing my data access code with FakeDbSet. This is an in-memory store for your data, the owner describes it as A ready to use FakeDbSet for … Continue reading

Posted in Test | Tagged , , , | Leave a comment

xUnit in Visual Studio

My current project requires xunit for unit testing. I’m used to mstest as it is build into visual studio, but xunit integration is transparent with the extension installed. Setup To get xUnit working with the Test explorer install the xUnit.net … Continue reading

Posted in Test | Tagged , , , , , | Leave a comment