Topics
- Informatics (16)
- Management (1)
- Open R&D (2)
- Software (28)
- Uncategorized (3)
Monthly Archives: May 2007
Keeping Rails migrations happy
Two quick things we’ve learned about migrations at CDD: Avoid using your model objects in your migrations, e.g. stuff like Group.create!(:name => “Watson Lab”). The problem with this is that later you might add a required field to your model, … Continue reading
Posted in Rails
Leave a comment
BDD: Forces and the “given X, when Y, then Z” pattern
Thinking more about the issue mentioned in my previous post, I’ve come up with a possible set of forces that push you in one direction or another, that is toward organizing your specifications around method behavior vs. organizing around object … Continue reading
Posted in Software
Leave a comment
CDD community meeting on open R&D for developing world disease
Last August I moved out to San Francisco to join a great cheminformatics startup, Collaborative Drug Discovery, as director of software development. Two months ago (March 5th) we had our first user community meeting on open R&D for developing world … Continue reading
Posted in Open R&D
Leave a comment
BDD: specifying domain objects de novo
The vanilla example used in most blog posts for BDD is some incarnation of de novo domain object specification, that is, specifying the behavior of a simple domain object from scratch. David Chelimsky’s stack example is a decent online example … Continue reading
Posted in Software
Leave a comment
Behavior-driven development
About two months ago at CDD we decided to start using the RSpec Behavior-driven development (BDD) framework instead of the standard Test::Unit unit-testing library. My initial interest in using RSpec was that it provided “contexts” for a bundle of tests/specifications … Continue reading
Posted in Software
Leave a comment