Specification Pattern vs Spec in BDD

Posted by cadmium on Stack Overflow See other posts from Stack Overflow or by cadmium
Published on 2009-09-11T01:19:52Z Indexed on 2010/05/09 1:58 UTC
Read the original article Hit count: 337

I'm trying to explore Behavior Driven Design and Domain Driven Design. I'm getting that written specifications drive the tests in BDD, but also that business logic can be encapsulated using the specification pattern for re-use in domain objects and repositories, etc.

Are these basically the same concept just used in different ways, used in conjunction together, or am I completely confusing the concepts?

Please shed some light, if possible.

© Stack Overflow or respective owner

Related posts about bdd

Related posts about specifications