CodeBetter.Com
CodeBetter.Com

Browse by Tags

  • Mapping BDD

    In my last post I offered a concise snapshot of how I'm practicing Behavior-Driven Development. Based on feedback, it was probably a little too concise and meta to provide any kind of valuable takeaways or discussion points, so I'm going to unpack what I said there over a few, more-specific posts...
    Posted to Dave Laribee (Weblog) by Dave Laribee on 03-11-2008
  • Architecting LINQ To SQL Applications, part 5

    Let's return to the series on how to architect applications that use LINQ To SQL. First of all, for those you who missed it, a summary of where we have been: Part 1, Introduction Part 2, Layered Architectures Part 3, DAOs and Repositories Part 4, Dynamic Queries Introduction I had a couple of requests...
    Posted to Ian Cooper [MVP] (Weblog) by Ian Cooper on 02-17-2008
  • Mocks are a code smell

    Now that the title has grabbed your attention no I don't really think that mocks are a code smell as a rule but I do think they are grossly overused and there are other ways of dealing with the same issues which should also be considered when designing systems. While not purely, I guess some may...
    Posted to Greg Young [MVP] (Weblog) by Greg on 02-13-2008
  • Classicist vs. Mockist Test-Driven Development

    One thing that came up in a couple of sessions of Altnetconf UK was the old saw of classicist vs. mockist approaches to TDD. Martin Fowler has a great, and updated, article on the distinction between the two approaches here . Now I have to confess to being a classicist. I tried being a mockist, but I...
    Posted to Ian Cooper [MVP] (Weblog) by Ian Cooper on 02-04-2008
  • Upcoming speaking engagements

    Floridians beware! The Hillbilly descends on your fair state in the next few weeks: FlaDotNet - West Palm Beach, January 22, 2008   6:30pm Introducing MVC in .NET OnLoad, OnPreRender, OnRender, OnInit. Traditional web forms development makes it sound like you're some crazed Santa Claus...
  • The Oversimplified Specification Anti-pattern

    I was running through a group talk I do at the recent Philly CodeCamp (which was a huge success by the way, special thanks to Brian Donahue for doing the heavy lifting in organizing an ALT.NET track) and we were ping pong pairing on the well known bank example. The first story we covered looked like...
    Posted to Dave Laribee (Weblog) by Dave Laribee on 01-14-2008
  • MbUnit fixtures, or "How to make your tests pass through attribute attrition"

    using MbUnit.Framework; using Rhino.Mocks; namespace Suvius.Applications.LoveDoctor.Tests { public class CritterFixationFixture { private ISpeciesSelectorPresenterView view; private MockRepository mocks; private SpeciesSelectorPresenter presenter; [ SetUp ] public void SetUp( ) { mocks = new MockRepository...
  • Mocks and the Dangers of Overspecified Software

    I'll be back on LINQ architecture after the holidays, but in the meantime, I wanted to share some of the bad, some of the places where we have had bitter experiences. When NMock first appeared we embraced the behaviour verification style that it supported. We liked the idea that for 'unit tests'...
    Posted to Ian Cooper [MVP] (Weblog) by Ian Cooper on 12-19-2007
  • Approaching BDD

    I'm preparing a chunk of code for open source release in January. Among many other things it has a persistence layer wrapper with a "provider" for NHibernate, yet another validation framework, and a few goodies for building smart clients. It's not dissimilar to Ayende's Rhino Commons...
    Posted to Dave Laribee (Weblog) by Dave Laribee on 12-17-2007
  • Test SetUp Methods, or "How to make yourself public"

    Here's a little sidebar that I bet you didn't know. Actually, that was probably more accurate at my old site where my readership measured on a more, shall we say, intimate, scale. Anyway, I recently converted a project from NUnit to MbUnit just because I felt like it. (Oh, I'm kidding. I...
Page 1 of 5 (49 items) 1 2 3 4 5 Next >