Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 7904
BY: Daniel Berger (djberg96)
DATE: 2006-02-28 02:16
SUBJECT: RE: Test files

 

The reason I prefer the $LOAD_PATH hacking is that I assume that when I run a test suite, it's going to run the one in the current package, not the one I may have already installed.

Or, to put it differently, I'll probably space out and forget I've already got a given package installed and I'll probably forget to add the -I switch when I run the test suite. Thus, when I run the test suite, I'll ignorantly assume that the new version passed all tests when, in fact, I've merely re-run the current version.

But, now knowing there's a 'rake test'....I'll just do that. :)

May I humbly suggest adding that tidbit to the README or INSTALL instructions somewhere?

Or do you think we're at the point in the evolution of Ruby where people just know to do that? I always forget.

Anyway, I think I'm just babbling at this point so I'll be on my way...

Thanks,

Dan


Thread View

Thread Author Date
Test filesDaniel Berger2006-02-27 19:56
      RE: Test filesJames Gray2006-02-27 21:03
            RE: Test filesDaniel Berger2006-02-28 02:16
                  RE: Test filesJames Gray2006-02-28 03:39

Post a followup to this message