Every good project needs a good setup. In this episode, I set up a github repo, create a new rails application, hook in Cucumber and Rspec, write a Cucumber feature, and write the code to make it pass. Download 142 MB Download (iphone & ipod) 59 MB
RSpec gives us many powerful tools to make our tests readable. Matchers allow us to provide custom predicates to our should statements that succinctly define the behavior of our code. Download 27 MB Download (iphone & ipod) 14 MB
RSpec provides an extremely concise way of representing simple tests to be called on new instances of a class or on explicitly defined receiver objects. You can do this by using ‘subjects’ either as defined by the ‘describe’ or the ‘subject’ methods. Download 38 MB Download (iphone & ipod) 18.2 MB
Anybody can learn to write code. The hard part is solving problems, not typing commands. This means that learning to program is a mental exercise followed by its interpretation into code.
TeachMeToCode.com is about helping you learn to think about problems and how to write code once you've figured out what you want. Sign up for the mailing list, watch a video, listen to the podcast, or read an article to get started.