You rang? :)

I think you're talking about a couple of different things here: a test runner framework and a build system. I also think the build for a large application with bundled dependencies is beyond the scope of module-oriented systems like Module::Build and MakeMaker. (I haven't looked closely at Module::Install.)

For the build system, you could start by taking the one from Krang. It's essentially the same as the one I described in the talk: automated build and install of locally bundled CPAN modules, Apache, and mod_perl into a non-system directory.

If that doesn't suit your fancy, you can probably get CPANPLUS to install local modules, although I haven't tried. I was also intrigued by pip. In either of those cases though, you will have to build something yourself to deal with the fact that many popular modules ask interactive questions during their installation. We handled this with Expect, and I think you could plug that into pip without too much trouble.

In terms of a test runner, we basically took what MakeMaker does for "make test" and modified it to suit our purposes. You may prefer to steal the Module::Build stuff there, or some combination of these and the prove command. Our issue with prove was the need to do some setup before running tests, but maybe you can find a clever way to integrate that with prove.

That's sort of a general answer. Is there something specific you're having trouble with? I do suggest taking a look at the Krang system if you're just wondering how this stuff I described looks in real life.


In reply to Re: Best Build/Test System? by perrin
in thread Best Build/Test System? by bennymack

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.