What to cover for a TDD and BDD toolkit/course?

Hash: SHA1

I’ve volunteered to create a new course for Satish T.'s

I want to cover rather basic stuff in regard to TDD and BDD, and the
tools tying into Test/Behavior Driven Development.

I plan on covering Test::Unit and RSpec at least, in a (thereabouts) 8
week course.

What do you folks think I should include?

I want to cover some external tools, too (a bit of Rake, a bit of RCov,
maybe Heckle).

There are no plans on covering Rails or other framework specific
additions, neither tools that are system specific (nothing that is
Windows or *NIX only).

I want to cover the Test::Unit library in depth (at least all the types
of assertions, and organizing tests in suits, naming conventions, etc),
and at least touch on RSpec.

So, the question to you folks is: What tools would you recommend to
include in this?

The audience are nubys to Ruby at least, maybe even TDD/BDD.

Phillip G.
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ “Mom and dad say I should make my life an example of the principles
~ believe in. But every time I do, they tell me to stop it.”
~ — Calvin

Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Something about ZenTest / autotest? I’ve never had autotest set-up
myself, but it sounded rather useful. I don’t think it’s Rails

On Sat, May 3, 2008 at 6:11 PM, Phillip G.
[email protected] wrote:

week course.

What do you folks think I should include?

What I see as important - more important than training people in the
specific list of assertions available today - include:

How to organize and maintain unit tests over time.

How to structure your code to work well with Unit testing

How to test in icky situations, including

  • How to test with databases
  • How to test GUIs
  • How to test web UIs (Selenium or some web driver)

I would probably also include a brief talk about acceptance testing,
possibly also some work on performance testing.

Another semi-optional part: How to add invariants checks and how they
differ from and to what degree they cover the same area as unit tests.

That’s what my curriculum would look like at first draft - much more
focused on the big picture of how to live with unit tests, and less
focused on the small details of how to use the particular API - just
enough API to get people started.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs