Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

particle (3326)

particle
  (email not shown publicly)

Journal of particle (3326)

Friday January 11, 2008
12:47 PM

Perl 6 Test Suite Refactor - file and directory naming

[ #35366 ]

after conversations with larry and patrick, including a mailing list thread linked below, we've decided on a strategy for file and directory naming for the official Perl 6 specification tests currently stored in the pugs repository.

the directory structure looks like this:

    t/spec/
        S02-literals/
            radix.t
        S02-whitespace/
            comments.t
        S03-operators/
            autoincrement.t
            comparison.t
            equality.t
            relational.t ...
        S29-functions/
            str/
                substr.t

please note the following:

~ the root directory for all specification tests is 't/spec/'
~ the top level directories under the root are named after the synopsis number
    and the section of the synopsis to which the contained test files correspond
~ top level directories may contain subdirectories
~ test file names reflect the subject being tested

i'll follow up soon with information about migrating tests to this new structure, and about new compiler directives allowing these tests to be used across Perl 6 implementations.

related links:

mailing list thread:
http://groups.google.com/group/perl.perl6.compiler/browse_frm/thread/5c622e222e3 4b8f5/ed748490f030da2f?tvc=1&q=Proposal%3A+refactor+the+test+suite+according+to+ synopsis#ed748490f030da2f

pugs repository tests:
http://svn.pugscode.org/t

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.