Category Archives: .NET Development

When Is a Test a Unit Test?

Developers write their tests usually with a unit test framework. Often those tests are slow and unreadable. Almost always the tests communicate with a database, a file system, a web service or other external resources. Developers stop executing the tests regularly and further they stop writing tests entirely, because “unit tests” are so slow and [...]
Also posted in Software Development, TDD | Tagged , | 1 Comment

Windows Installer 4.5 SDK no longer available as stand-alone download

Windows SDK for Windows 7 and .NET Framework 3.5 SP1 is now available to download. It includes the latest SDK for Windows Installer 5.0. Therefore the stand-alone version of the Windows Installer 4.5 SDK is no longer available for download.
Also posted in Software Development | Leave a comment

Resources for Setup Authors

In the last years I created Windows Installer packages (MSI files) using various tools. Now I’m working on the installer for NUnit 3 and we’re using Windows Installer XML (WiX) version 3. I’m writing this post to collect links to interesting resources for creating setups using WiX. Windows Installer SDK in the MSDN library Windows Installer 4.5 SDK: [...]
Posted in .NET Development | Tagged , , , | Leave a comment

Creating NUnit projects

Since version 2.1, both the Console runner and the GUI runner of NUnit can load tests from multiple test assemblies. The NUnit documentation contains more information about this feature. Still there can be one or more obstacles when you use multiple test assemblies. Adhoc projects The Console runner accepts more than one test assemblies as command line [...]
Posted in .NET Development | Leave a comment

RenderAction and SubControllers in ASP.NET MVC

Last week I watched some videos about ASP.NET MVC. Rob Conery creates in episode 11 of the “ASP.NET MVC Storefront” series an ASP.NET MVC Component. Using components you can call an action method of a ComponentController and insert the rendered result into the view. Mike Bosch explains this concept in a blog post. In ASP.NET MVC [...]
Posted in .NET Development | Tagged , , | Leave a comment

RowTest Extension 1.2.3

I released a new version of the RowTest Extension. I made following changes: The description of a Row attribute will be copied to the created test case. You can download it from the RowTest Extension page. Technorati Tags NUnit, nunitaddin, rowtest, unit-testing
Also posted in TDD | Tagged , , , | Leave a comment

Detecting Testability Problems

Roy Osherove wrote a new tool, called Depender. It inspects the types within an assembly and tries to find possible testability problems and places where you can already use seams to inject your own implementation. If you’re not familiar with the concept of seams you might want to read Michael Feather’s book “Working Effectively with [...]
Also posted in TDD | Tagged , , | Leave a comment