Home » Testing » Page 2

Tag Archives: Testing

Creating robust tests with Isolator V7

The problem with unit tests is that they keep on breaking…  Obviously that’s not entirely correct, nevertheless I had the pleasure of hearing the sentence above numerous times. It’s true – unit tests do tend to fail and we prefer that they fail only when a regression occurs – when something that used to work stopped working, because that’s the ...

Read More »

Structuring your Unit Tests, why?

I am a strong believer in automated unit tests. And I read this post by Phil Haack with part amusement and part wonder. RavenDB currently has close to 1,400 tests in it. We routinely ask for failing tests from users and fix bugs by writing tests to verify fixes. But structuring them in terms of source code? That seems to ...

Read More »

Don’t just Test, be a Tester

In the team I currently work with, we came to the conclusion, that the software contains to many bugs when we think it is finished. Since we don’t have a dedicated tester on the team (I know that is a mistake) we decide to invent the role of “Tester of the Week”. Every week one person would get the title ...

Read More »

Getting Started with Testing

In a recent article I described how important I consider the practice of Testing, especially in the form of TDD. Erik made a real good comment on that article: “Start learning how to test today” Do you have any good resources? “Most of the code we produce isn’t fizz buzz, but is concerned with GUIs and databases, both make testing ...

Read More »

Async tests in Silverlight

One of the things that we do is build a lot of stuff in Silverlight, usually, those things are either libraries or UI. Testing Silverlight was always a problem, but at least there is a solution OOTB for that. Unfortunately, the moment that you start talking about async tests (for example, you want to run a web server to check ...

Read More »

Testing: Trying not to overdo it

The design of the code which contains the main logic of the application that I’m currently working on looks a bit like the diagram on the right hand side: Orchestration code We load a bunch of stuff from an Oracle database, construct some objects from the data and then invoke a sequence of methods on those objects in order to ...

Read More »

Getting Started with Testing

In a recent article I described how important I consider the practice of Testing, especially in the form of TDD. Erik made a real good comment on that article: “Start learning how to test today” Do you have any good resources? “Most of the code we produce isn’t fizz buzz, but is concerned with GUIs and databases, both make testing ...

Read More »

Unit Tests: Searching under the Lamp Post

I’m a big fan of unit tests (Surprise). When ever possible I practice TDD. I like how that approach coerces <check this> me into making smaller classes, less dependencies, cleaner abstractions. And of course I love it when my unit tests catch a regression before I even start the application. BUT I find it quite disturbing how many bugs make ...

Read More »