Eivind Eklund
5/5/2008 11:47:00 AM
On Sat, May 3, 2008 at 6:11 PM, Phillip Gawlowski
<cmdjackryan@googlemail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've volunteered to create a new course for Satish Talim's
> rubylearning.org.
>
> 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?
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.
Eivind.