I think the main thing I need to do is improve my documentation. I don't think I made myself clear.

This thing doesn't check configuration at all, it checks if features are working properly by getting web pages that use those features.

The thing that's different about my approach is I can write a single perl script and point it at any compliant test web page.

With Test::WWW::Mechanize, you have to write a web page that uses a feature and a specific script that looks at that web page. With my system, you write the web page and all you have to do with the script is point it at the web page.

Here's a scenario example:

I have 3 web servers, they each do SSI and PHP, but only one has a mysql server. I write a web page that uses some SSI features, another web page that uses some PHP features and another web page that connects to the mysql server and does a few things. I copy the 1st two pages to all 3 servers and the mysql test page only to the server with mysql. Now, I can either use Test::WWW::Mechanize and write a script or scripts that know exactly what to expect from all of those web pages, or I can write my one script that will be able to understand them all.

And! If I decide that I want to test another aspect of, say my PHP interpreter, I only need to edit the test web page. I can leave my script alone. Much more scalable!


In reply to Re^2: CheckWeb - a new module by pileofrogs
in thread CheckWeb - a new module by pileofrogs

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.