Being Cellfish
Stuff I wished I've found in some blog (and sometimes did)
Getting code coverage in visual studio 2010 when using xUnit.net
Recently I set up a project where i wanted to use xUnit.net as a unit test framework and I also...
Author: Emil Gustafsson Date: 05/22/2010
Team dojo 12
Today we continued where the last dojo ended. Since last time we've created a small backlog with...
Author: Emil Gustafsson Date: 05/20/2010
Beware of Parkinson's law
Parkinson's law, if you have not heard it before, states that Work expands so as to fill the time...
Author: Emil Gustafsson Date: 05/18/2010
Malevich the code review tool - part 2
Now that my team have used Malevich for little over a month I thought it was time for an update. On...
Author: Emil Gustafsson Date: 05/16/2010
Can your code handle a räksmörgås?
Räksmörgås is Swedish for prawn sandwich and is often used when testing computer systems since it...
Author: Emil Gustafsson Date: 05/14/2010
Scrum or Kanban?
One interesting thing I've heard over the last years (and again the other day) is that a lot of...
Author: Emil Gustafsson Date: 05/12/2010
Definition of a failed sprint
Recently there was a discussion on an internal mailing list about when a sprint was was considered a...
Author: Emil Gustafsson Date: 05/10/2010
Team Dojo 11
This time we decided to start a little larger project that we will work on over several dojos. This...
Author: Emil Gustafsson Date: 04/22/2010
7 tips for faster SQL queries (are really just 5)
I like when people make lists of things and decide on how many things they want in the list before...
Author: Emil Gustafsson Date: 04/08/2010
Comment Driven Development
It took a little more than a year for CDD to catch on... Or actually it's a new variant of CDD but...
Author: Emil Gustafsson Date: 04/01/2010
Malevich the code review tool
Malevich is a code review tool that more and more teams within has started to use for code reviews....
Author: Emil Gustafsson Date: 03/29/2010
Handling a lot of email efficiently
People love sending email at Microsoft. So you need a good strategy to handle it. At work I use a...
Author: Emil Gustafsson Date: 03/23/2010
Will code bubbles be the next development UI?
Look at this video. I think it is a great idea. Too bad it apparently only work for Java. Will be...
Author: Emil Gustafsson Date: 03/21/2010
Improving meetings with ROTI
There are two things people seam to love at Microsoft; Meetings and email. The latter needs a quick...
Author: Emil Gustafsson Date: 03/19/2010
Should a professional developer always use TDD?
The answer is no - a professional developer should always use BDD. No seriously. I read this today...
Author: Emil Gustafsson Date: 03/17/2010
Why go to a coding dojo?
I've previously mentioned what a coding dojo is but never really covered why you should go. I wish I...
Author: Emil Gustafsson Date: 03/12/2010
Yet another post about mocking
I would like to apologize for this post. There is nothing new here. And I'm going to just refer you...
Author: Emil Gustafsson Date: 03/10/2010
Using extension methods to seperate contexts in your DSL
While using properties to create a DSL does not feel like news to me, I read something that felt...
Author: Emil Gustafsson Date: 03/03/2010
Why do TDD when it slows you down?
In my experience a lot of teams that wants to start using test driven development did not write a...
Author: Emil Gustafsson Date: 03/01/2010
Working in war teams is great
One thing that came up in the retrospectives as a good thing a few times in my previous team was...
Author: Emil Gustafsson Date: 02/26/2010
Squeezing performance out of memcmp usage
When I wrote this the other day it made me think of another thing involving the memcmp function and...
Author: Emil Gustafsson Date: 02/24/2010
Considering future performance in your database
Ten years ago I worked on a project where we did a lot of fancy things with a number of databases. I...
Author: Emil Gustafsson Date: 02/22/2010
A new unit test framework for C++
Today I learned about something I did not expected. A new unit test framework for C++ called Igloo....
Author: Emil Gustafsson Date: 02/19/2010
Things you don't want to do with properties in C#
I was working with some code a couple of weeks ago and I stumbled over this "interesting"...
Author: Emil Gustafsson Date: 02/12/2010
Using C# properties to create a domain specific language
So this is nothing new really. People have been creating DSLs using methods and properties for quite...
Author: Emil Gustafsson Date: 02/10/2010
Taking responsibility for failure
So the thing I wrote the other day made me think about another thing. Toyota is doing what they...
Author: Emil Gustafsson Date: 02/06/2010
On Toyota's recent recall of cars
So the company who gave us lean is recalling a lot of cars because of break problems. I don't think...
Author: Emil Gustafsson Date: 02/04/2010
Words, words, words
So I've mentioned this topic before; choosing the right words to send the message you want. But this...
Author: Emil Gustafsson Date: 02/02/2010
Using Smilies to Reduce Story Cycle Time
The title I'm using was the title of an email I received on one internal mailing list. It was about...
Author: Emil Gustafsson Date: 01/31/2010
Team coding dojo 9
This time we decided to go back to the basics. Simple straight forward TDD using a really simple...
Author: Emil Gustafsson Date: 01/21/2010
Fun Driven Development and Result Driven Development
I decided to add a few double Ds to my old list. First up is FDD as in Fun Driven Development. FDD...
Author: Emil Gustafsson Date: 01/18/2010
Handling different versions of the database
The only way to handle database changes I've used before was either a number of SQL scripts which...
Author: Emil Gustafsson Date: 01/10/2010
Results of a simple TDD experiment
Well, I wish it was my own report this time but it isn't. Instead I'd just link to this little...
Author: Emil Gustafsson Date: 01/06/2010
Mocking framework comparison
As you may know I think mocks should be used quite carefully. But as I've pointed out before I think...
Author: Emil Gustafsson Date: 01/03/2010
2009 statistics
Statistics are fun and can be used to prove almost anything... So let's take a look at the...
Author: Emil Gustafsson Date: 01/01/2010
Christmas 2009
For easier reference, here are the 2009 advent calendar links: What problem and what do we start...
Author: Emil Gustafsson Date: 12/25/2009
The 2009 Advent Calendar Wrap Up
So I hope I showed you a way to BDD/TDD a thread safe solution without slow pesky tests that needs a...
Author: Emil Gustafsson Date: 12/25/2009
Final code version for 2009 Advent Calendar
This is the final version of all code created in the 2009 Advent Calendar: 1: public class...
Author: Emil Gustafsson Date: 12/25/2009
2009 Advent Calendar December 24th
As I mentioned yesterday we now don't have any tests for the MutexWrapper which is a thin wrapper...
Author: Emil Gustafsson Date: 12/24/2009
2009 Advent Calendar December 23rd
And the last test refactored to remove the slow tests: 1: public class Given_a_locked_MutexLock 2: {...
Author: Emil Gustafsson Date: 12/23/2009
2009 Advent Calendar December 22nd
And today we refactor yet another test that is potentially slow when failing (because of the...
Author: Emil Gustafsson Date: 12/22/2009
2009 Advent Calendar December 21st
The change we did yesterday makes it possible to remove the use of helper threads and timeouts for...
Author: Emil Gustafsson Date: 12/21/2009
2009 Advent Calendar December 20th
But wait! What happened yesterday? We added some significant functionality; hiding the fact that...
Author: Emil Gustafsson Date: 12/20/2009
2009 Advent Calendar December 19th
So far so good but there is one more thing I want the MutexLock to do. The Mutex object may throw an...
Author: Emil Gustafsson Date: 12/19/2009
2009 Advent Calendar December 18th
Yet another passing test to make sure our MutexLock works as expected: 1: public class...
Author: Emil Gustafsson Date: 12/18/2009
2009 Advent Calendar December 17th
Since we already have an implementation for the MutexLock I want to add another passing test: 1:...
Author: Emil Gustafsson Date: 12/17/2009
2009 Advent Calendar December 16th
So far I'm pretty pleased with how the ImportantObject is protected by the ImportantProvider but...
Author: Emil Gustafsson Date: 12/16/2009
2009 Advent Calendar December 15th
So instead of the generic for the lock we had yesterday we can add a default constructor for...
Author: Emil Gustafsson Date: 12/15/2009
2009 Advent Calendar December 14th
But if we're using generics; why not do it for the lock too: 1: public class...
Author: Emil Gustafsson Date: 12/14/2009
2009 Advent Calendar December 13th
One problem I see with how ImportantProvider turned out yesterday is that I have to give it the...
Author: Emil Gustafsson Date: 12/13/2009