Tag Archives: unittest

Red-gate SQL Test

Writing unittests for sql objects was one of my blind spots. Red-gate has a tool called SQL Test that should fill in the gap. I have given it a try. SQL Test is a graphical user interface for tSQLt, a … Continue reading

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

Integration Test with Entity Framework Codefirst

Our database is developed using Entity Framework Codefirst. Everything in code. Enabled migrations to update existing environments as we roll out. The code passed all the unittests, but it didn’t feel right. Time for an integration test. This brought me … Continue reading

Posted in Development | 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