From: sera@... (Francis Hwang) Date: 2003-02-06T23:50:49+09:00 Subject: How do I do automated testing of class dependencies? I've been using RubyUnit for my automated testing, and I'm happy with it. There's one thing that keeps tripping me up, though: If an individual file is missing a necessary require, it's possible for this to slip through my tests and get into production code. Let's say I have a class A that requires class B, but I forgot to put in a "require 'B'" statement in A. This will be found if I run > runtest.rb A.rb but possibly not if I run > runtest.rb *.rb .... if, say, another class loads B.rb before A.rb is run. Does anybody have any good solutions for this? Thanks. Francis