context-specification

How (strategy) to unit test properties (get/set) in BDD style?

I have a class (of many) that have properties. Some have logic in them and some don't. Assuming I want to test these properties, how do I go about doing that? Recently, I've been interested in BDD style for creating unit tests. see here and here. So I'd do a setup of the context - basically create the SUT and load up whatever is nee...

BDD: When/where to setup stubs?

I've been using TDD/SSR for a while. I'm trying to transition to BDD: context, becauseOf, and Asserts. I'm using Rhino Mocks to isolate, and I'm struggling with syntax now. Here's what I've got so far (note: ContextSpecification class source): public static class DocumentIdAdapterTests { public class DocumentIdAdapterContext : Co...