I'm cc'ing Alex who has been working on the Test First website. There's a script that pulls out just the specs in learn_ruby and posts them as a zip, might be worthwhile to create a numbered list of 'em.
I've been doing that manually here:
http://github.com/blazingcloud/ruby_lessons
I've also got a set of slides that I'm happy to share with you.
You should also join the test-first-teaching group here; http://groups.google.com/group/test-first-teaching
This would be very cool!
Sarah
On Oct 31, 2010, at 6:30 PM, Robert Fletcher wrote:
> Hey Sarah,
>
> So I've been talking to some people at Noisebridge and there seems to be a reasonable level of interest in learning Ruby, so I thought I would start offering a free weekly class there. Your Test-First Teaching material seems to be a great place to start, but I kind of wanted to change things around a little bit. I was thinking of forking it so that I can cut it down to just the Ruby specs and restructure the files, but I wanted to get your thoughts on it first. Here's what I'm thinking of doing:
>
> -Keep only the stuff in the learn_ruby folder
> -Delete all solutions and help files
> -Delete any rails projects
> -Number the directories for an appropriate ordering
>
> And then depending on how the class goes I could see having the students add more specs and higher level lessons, maybe introducing some of the other tools later on, such as rails or other gems like DataMapper and Cucumber. What do you think?
>
> -Robert
Running learn_ruby/hello/hello_spec.rb with solutionOrdering is an important feature request. I've been trying to take input from Sarah and Liah and take their manual processes and move them in to the rake task, but they keep pushing the envelope and solving more problems and then not telling me about it until later! Curse their motivation and resourcefulness! :-)
Hello
says hello
Finished in 0.000536 seconds
1 example, 0 failures
learn_ruby/hello passed
Running learn_ruby/in_words/in_words_spec.rb with solution
Fixnum
reads 0 to 9
reads 10 to 12
reads teens
reads tens
reads various other numbers less than 100
reads hundreds
reads thousands
reads millions
reads billions (FAILED - 1)
Go check in_words/in_words_spec.rb:74:in `block in <top (required)>'
learn_ruby/in_words passed
Running learn_ruby/orange_tree/orange_tree_spec.rb with solution
OrangeTree
should increment the tree's age with each passing year
should die after 80 years
should produce fruit after 2 years
should increase fruit production by 5 pieces each year after maturity
should count the number of oranges eaten this year
should not let you pick fruit that isn't there
Finished in 0.00094 seconds