-
Part of my job at work is to teach and mentor other developers on our team. Right now I am in the process of teaching two of our developers how to create unit tests (notice I did NOT say integration tests because most anyone can do those). We are also learning how to create our tests by utilizing an...
-
One of the really great things about the latest release of StructureMap is that I do not need to register objects by default if they follow a standard convention (i.e. if I want to register a controller called ‘AuthorController’ and accessed via ‘AuthorController’ I do not need to do anything, SM is...
-
In my last post ( here ) I was giving a wrap up of the Mocking session I recently did at TriNug . In that post I gave some of the reasons (sorry, I meant excuses) people gave for not doing any type of automated testing during their dally development ritual (notice I am staying away from TDD at this point...
-
I don't typically link blog and I do my best to write substantive original material, but the following is too good to pass up. It's how I feel and how I've approach work in the last year or so. From Ayende's Reducing The Cost Of Change blog post this morning: That mindset...
-
I'm giving a talk on TDD at our local UG tonight, and under the influence of some recent posts here on devlicio.us, I just finished reworking my presentation. This post is an outline for the first half of my presentation. The Problems Code has entropy. That is over time it deteriorates. At least...
-
Last night on twitter Aaron Jenson made the statement 'moq's expect method needs to be renamed' 'setting the expectation is not what you should be doing. you don't *care* if it's called.' I then started a short conversation with Aaron about this. I have been using RhinoMocks...
-
One of the new features that is part of the next release of StructureMap 2.5 is a AutoMocking Container. What is an AutoMocking Container, well per Jacob over at Eleutian an AutoMocker is AutoMockingContainer is simply a IoCContainer with a custom facility and dependency resolver that supplies a Mock...
-
Today started off in a bad, bad way. Because of some issues I had earlier in the week with my source control repository (SCR) I was doing a ton of work offline. Today I was able to regain access to my SCR I decided to do a full get. I was fully expecting SourceOffSite (crappy overlay tool on top of VSS...
-
Roy Osherove is one of my favorite .NET personalities. Having had the chance to spend some time with him in Seattle this past April at the Alt.NET conference I came to see him as someone who is very well thought out on many of his positions. Roy posted this last weekend a post on mocks and...
-
During a discussion with our project manager earlier today, I used the phrase "Don't tell me how you want it to work, tell me what you want it to do" We were discussing user stories , and I was trying to get across what I wanted to see on a story card, and what I didn't want to see...
-
A little earlier today I found myself explaining Aggregate Roots and Anemic Domain Models to a couple of developers here, and I wished I had my copy of Domain Driven Design to hand to show them what I was explaining ... then I remembered that InfoQ published an *excellent* online book called " Domain...
-
Here's a conversation I just had with another developer who is struggling to get his team to adopt some agile practices: developer : if you were starting from scratch, which would you think is more important to setup first? CI or a unit testing process? me : unit testing developer : wow developer...
-
A long while ago I got a licence for NDepend ... I had used it previously but only on the trial version, where it had proved very useful in giving me a some pretty graphs that made sense to managment when my words did not. I haven't actually got around to using it until this morning, when I thought...
-
When I first graduated from college I worked on embedded systems where the process was a formal, military grade process. When developing software I typically thought about what document I had to write next and what document(s) I may be missing. In general, the MIL standards turned me off...
-
Brad Wilson mentioned on the TDD mailing list that the waste and inefficiency within the software industry was akin to the house building industry. I'm sure in some respects he is right, but in a more fundamental way I disagree. An average layman off the street hiring a builder can ask them to build...