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

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.
  • by n1vux (1492) on 2005.04.29 20:16 (#40114) Homepage Journal
    This looks potentially useful, but I'm unsure for what.

    Since Perl Test::Simple/Test::Builder is generally considered a Unit Testing framework (although it can be (ab)used as a Integration-Regression engine as well), and JavaScript (or ECMA Script) runs in a Browser that is usually deeply connected, I'm missing a contextual leap here.

    I could really use a link to a web page describing the purpose and scope of the TestSimple JavaScript port. All the posts on Just A Theory [justatheory.com] and here [perl.org] are "Implementor's Doc", change-lists of what's implemented/fixed from your point of view. If there's a "Project Homepage", it's not linked.

    • Is the point to integration test the whole distributed front-ends of applications from the (EcmaScript compliant) browser?
    • Or to unit test the client-side java-script as an entity, mocking the server??
    • Or is the point to Unit test JavaScript functions in the browser in vitro, mocking everything outside the current function?
    • Or is this for Unit Testing of the Presentation Layer on the server from the Brtowser? (If so, how can a JavaScript arrange to Mock the Model layer?)
    • Or is it more likely for driving Integration Testing from the browser with the scripting simplicity we've come to love, without resorting to OLE-stuffing the browser from Perl?
    Digging into the TAR file (which I normally wouldn't do before peaking at the web copy of the POD2HTML's) I think I understand it's for unit-testing JavaScript classes, which I hadn't even considered. (JavaScript has classes that fancy? *shudder* no wonder pages don't work between browser versions.) I hope I don't need to do that.

    How much of the other items above could I do with it, if any?

    --
    Bill
    # I had a sig when sigs were cool
    use Sig;
    • Bill,

      Apologies for the delayed reply. I've been busy with other things for the last few days.

      I thought that your questions were important enough that I wrote a separate post [justatheory.com] to address them.

      —Theory