Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » EDD/TDD   (RSS)
One step past Assert.Throws<>
If you’re not using xUnit (and you should be), at least consider adopting the practices they have for dealing with exceptions in unit tests. From the very first release, they moved us from this: [ExpectedException(typeof(InvalidOperationException))] public Read More...
Can you take the single responsibility principle too far?
This morning, I had a conversation with a colleague of mine who has recently started using EDD about "exposing things just for the purpose of testing." Although I have run across the odd occasion where I may need to add a get property to a class in order Read More...
xUnit.net goes live!
NUnit is dead! Long live xUnit.net! There are several cool features, including aspect-like extensibility for tests, but the two changes that will immediately make a difference in my day-to-day coding are: [ExpectedException] is gone. In its place is Assert.Throws<T>( Read More...
The one where Toby finds a dependency injection container
Toby is less than happy. Due to some unforeseen circumstances , he recently lost all the code he'd been working on for the EDM project. For some unknown reason, he'd never bothered to setup a source control server and vows to not make the same mistake Read More...
Toby and the loss of domain knowledge
One morning, as Toby is drinking his cup of hot water, a thought strikes him - did the acceptance stories really cover everything he discovered about the domain in the first few days? Slightly worried, he finds the paragraph he so proudly wrote a while Read More...
Toby and the mega-class deletion
So it's become obvious that having a large, all-encompassing EDMSystem class was probably not the way to go. It did give us a way to express what we wanted our acceptance tests to do, but the time has come to bite the bullet and take a look at where the Read More...
Toby and the step backwards
Being passionate about anything can have its drawbacks; in my zeal to give inside-out development a shot, I completely disregarded a couple principles I hold dear. SRP ? Out the window. Test-first code? Left by the side of the road. I do have a set of Read More...
Toby and the complete stab in the dark
During my rather long wait for the plane in Dublin this morning, I had the opportunity to revisit Toby and his company's EDM. Unfortunately, by the time I got to some stories, I was actually in the air with no internet access and as such had to just leave Read More...
The way of Testivus
I apologise for the lack of updates on Tony's adventures—we have been busy doing integration work for Gatineau Beta 2. Our team from Dublin has some very cool stuff going in, and I'm looking forward to the day when I can post some screenshots. In the Read More...
The mess that mocks can make
Aside: I guess this post is really about mock frameworks rather than mocks, but I didn't want to break the partial alliteration I had going in the title :) A question was posed recently on one of our discussion lists about whether Rhino Mocks was a good Read More...
Toby's first few days
During his brief 'vacation' from work, Toby got a chance to do some reading and is psyched to try out a few new ideas with what he already knows. After getting through the first boring day of employee training, he arrives the next morning and starts planning. Read More...
Treading on thin ice
I wasn't sure if I should comment on this, but the power of Agile and good programming compel me. I love TestDrive.Net . I've shown it to my group on more than one occasion and will tell anyone who will listen about it. Yes, the next version of Visual Read More...
EE/TwC presentation
Last Tuesday I gave a presentation for the Engineering Excellence / Trustworty Computing day here in Dublin on Test-Driven Development and Micro-Pairing. Shocking, I know. It was a bit weird wearing a portable mic and being filmed, but a good experience Read More...
Builders and factories and objects, oh my!
(I wrote this about three weeks ago and never got a chance to post it. Luckily there's a small lull before I head over to CeBit later this week so I thought I should finish it) After you've been developing test-first for a while (six months+ ?), you start Read More...
Spreading the word far and wide
On Feb. 7th, we had a onsite technical university event here at the EPDC 5 building in Dublin. I was hoping to get some good photos of the evening to post, but they don't seem to be forthcoming. The goal was to show that Microsoft does, in fact, do development Read More...
More Posts Next page »
Page view tracker