Logo b LEARN ENOUGH
Archive RSS Email
RECENT POSTS

Poll results: RSpec in a landslide

Dec 23, 2009 • posted by Michael Hartl

The poll results are in: after nearly 90 votes, it's RSpec in a landslide. A full 76 of 87 respondents (87.36%) prefer RSpec for use in the Ruby on Rails Tutorial book. This is good news for me, since I know RSpec better, and I also have the specs through Chapter 6 already written. For those who voted for Test::Unit, I hope you'll come along for the RSpec ride; even though it's not currently the default, I believe RSpec is the Rails Way*, so these results are good news for you, too.

To make the introduction to RSpec a little gentler, I'll plan to add some more introductory information in Chapter 2, perhaps including a separate box on RSpec or a section on "anatomy of a spec". If you still run into any RSpec confusion, please let me know, and I'll do what I can to alleviate it.

*The Shoulda testing framework is a good alternate choice—the Other Rails Way, as it were.

Michael-hartl
Michael Hartl

I’m Michael Hartl—author, educator, and entrepreneur. I’m probably best known as the creator of the Ruby on Rails Tutorial, a book and screencast series that together constitute one of the leading introductions to web development. Once called his “favorite book” by Wikipedia founder Jimmy Wales, the Ruby on Rails Tutorial currently has over 150 5-star reviews at Amazon. I’m also (in)famous for creating Tau Day and The Tau Manifesto, which have inspired an international movement dedicated to the proposition that “pi is wrong.” (For example, as a result of The Tau Manifesto, MIT releases their admissions decisions each year at “Tau Time” (6:28 p.m.), and typing tau/2 at Google yields 3.14159…) Finally, I’m a founder of Softcover, a publishing system and sales platform for technical authors, which among other things powers both The Tau Manifesto and the Ruby on Rails Tutorial.

I’m a graduate of Harvard College and have a Ph.D. in Physics from Caltech, where I studied black hole dynamics and was an award-winning instructor in theoretical and computational physics. I’m also an alumnus of Y Combinator, the entrepreneur program that has produced companies such as Dropbox and Airbnb. (Alas, my own Y Combinator startup was neither Dropbox nor Airbnb.)