in reply to Re: RFC: Test::Block
in thread RFC: Test::Block

So when a developer or somebody wishes to run the full test suite, they have to modify a test file? They can't just do something like `make test TEST_ALL=1'?

Nope :-)

I think you're misunderstanding the purpose. It's not restricting the tests run, but allowing you to specify the number of tests at a finer level of detail.

Some examples of where this may be useful:

Sure I can somehow code that into my test scripts, but why should (your module is too short, it needs more features)?

What else should it do? Personally I don't think that "too short" is a criticism ;-)

Replies are listed 'Best First'.
Re: Re^2: RFC: Test::Block
by jplindstrom (Monsignor) on May 07, 2003 at 17:59 UTC
    Your examples makes excellent sense along the lines of

    http://c2.com/cgi/wiki?LocalityOfReferenceDocumentation

    The principle may be stated formally as if it were a Newtonian Law of sorts:
    The likelihood of keeping all or part of a software artifact consistent with any corresponding text that describes it, is inversely proportional to the square of the cognitive distance between them.
    A less verbose, less pompous description would be simply: Out of sight; out of mind!

    Therefore, it is desirable for us to try and minimize the cognitive distance between artifacts and their descriptions!

    /J