BDD in Squeak Smalltalk: An exploration
Coming from Ruby, I’m obsessed with Behavior Driven Development. The community (e.g. Rspec, Cucumber) is alive, and there is a body of practices to follow.
Since TDD was born in Smalltalk, I expected to find the same energy and guidance in Squeak. Squeak represents the most profound, empowering environment I’ve ever seen (I will never go back to C, C++, or even Ruby – which misses the boat by not being a living system). However, the testing situation seems frozen in the early days.
My intention is to create do a series of experiments, which will lead to BDD best-practices in Squeak. My vision is code that is pulled into existence by what matters to its users, that is easy to understand, and easy to change.
I’ll keep you posted…
Hi Sean. Did you see this: http://www.fast.org.ar/smalltalks2011/talks/Bringing%20BDD%20ideas%20to%20Pharo ?
Maybe you can work together
cheers
@Mariano Martinez Peck Yes, thanks Mariano. I’m patiently waiting for the videos to go up
I would love some help. I started at ESUG 2010 porting the Ruby BDD stack (Cucumber and Rspec) to Smalltalk, but I quickly realized that BDD in Smalltalk would be lightyears ahead of what’s out there because we have our live, open, dynamic environment to make and use our tools in! What I now imagine and am creating is a chain of living documentation, from the “docs” through acceptance tests and unit tests to the actual code. Imagine if your DocumentationRunner told you every time a code example no longer worked?! And what is a slowed down acceptance test?? A screencast!!! But a screencast that never goes out of date and sync with the living system
Hey Sean,
was it possible to watch the video for you yet? It seems that the site is down at the moment. I would love to see BDD support in Pharo.
Kai.
@Kai Hey Kai. I don’t think the videos for Smalltalks 2011 are up yet, but I’m sure they will be. I’ll see if I can find out why the site is down.