By tag: Unit
0
kicks
Windows 8 Metro WinJS Unit Testing: Down the Rabbit Hole
A deeper look at using dependency injection and MVVM to unit test Windows 8 WinJS Metro apps.
0
kicks
Agile development practices within a traditional sdlc
Agile development practices greatly improve quality and productivity. There are "agile" development practices that can be applied to any project independently of the project methodology.
In this post I talk about a recent project and some of the development practices that worked really w...
0
kicks
Repository, Specification, Unit of Work, Persistence Ignorance POCO 2
This is my second post on one of the ways of applying the Repository, Specification and Unit of Work pattern using the persistence ignorance POCO with the upcoming ADO.NET Entity Framework 4.0. This post will explain how to implement the Repository, Specification & Unit of Work with Entity Frame...
0
kicks
Smoke, Sanity and Regression Testing: The River Analogy
In the world of testing, Smoke Testing, Sanity Testing and Regression Testing are very similar to each other: to ensure the quality running the test cases of an existing application with respect to a new feature being added/dropped/modified. We can consider a River Analogy to understand the differen...
0
kicks
Unit Testable Configuration Manager - Kazi Manzur Rashid's Blog
If you are a TDD purist, you should know that accessing file system in Unit Test is violating the rule. But in our application, our infrastructural code often requires to access the configuration values form web.config/app.config. In this post, I will show you how can create a simple wrapper class w...
0
kicks
Implementing UnitOfWork Pattern In Linq To SQL Application
Implementing UnitOfWork Pattern In Linq To SQL Application
In my previous post, I have shown how to create Linq to Sql Repository which will have the maximum code coverage, In this post, I will show a simple UnitOfWork class which will flash the changes back to your database. I will be again use...
0
kicks
100% Unit Testable Linq To Sql Repository - Kazi Manzur Rashid's Blog
In this post, I will show you how you can architect your Linq To Sql repository which will have 100% code coverage. I will use our favorite Northwind database along with my ongoing UnityCommonServiceLocatorMVC project. First, lets add a Linq To Sql diagram in our project and drag n drop the Category...
0
kicks
First attempts with Gallio
From time to time I like to check my development workflow and tools to see whether I’m still up to date. This time I thought it might be a nice idea to give Gallio a shot. If you don’t now Gallio: it is a platform to uniformly run unit tests from whatever unit test framework (MbUnit, NUnit, MSTest e...
0
kicks
NHibernate: Testing The Performance Urban Legend
I wanted to challenge the dogmatic urban legend passed down from .NET developer to .NET developer since the classic ASP days. That dogma simply states you should always access your database via stored procedure for "performance reasons". Inline SQL is BAAAAAAD.
So I fired up Visual Stud...
0
kicks
Why Pluggable Applications Fails in NUnit?
I am currently working on a project with a pluggable application. Although, the code was functioning very well it always failed during the NUnit tests, always!
0
kicks
More on Unit Testing : TestContext
In Test Driven Development as a developer we spend significant amount of time in writing unit tests. As improving coding coverage, testing all the boundary condition and ensuring the of quality code is significantly important, writing unit test effectively become one of the priority that we has to ...
0
kicks
Getting Started with Test Driven Development
"Few days ago I started a poll on www.KoffeeKoder.com where I asked which tool do you use for testing your applications. Surprisingly, most of the people are not using any tool for testing. This means that there are more and more applications being developed which are destined to be failed. In ...
0
kicks
Test-Driven Development for Embedded Software
Despite a prevalent industry perception to the contrary, the agile practices of Test-Driven Development and Continuous Integration can be successfully applied to embedded software. We present here a holistic set of practices, platform independent tools, and a new design pattern (Model Conductor Hard...
0
kicks
Including unit tests in project release
It struck me as a great idea to include NUnit test in the next release of my SQLite query browser. If the program crashes or misbehaves, users can run the tests, find out why and either report to me or fix it themselves.