in reply to Testing - General Questions

Are the .t files really the same as the .pl files but with embedded tests?

You can write your tests in any language you want. Parrot's .t files use quite a mixture of languages.

Replies are listed 'Best First'.
Re^2: Testing - General Questions
by jbert (Priest) on Nov 21, 2007 at 20:26 UTC
    I think some versions of Test::Harness assume perl, they invoke "perl foo.t" rather than "foo.t".

    Your point stands though, the assumption is that a .t file will generate something like TAP. How it does it shouldn't matter.

      I think some versions of Test::Harness assume perl, they invoke "perl foo.t" rather than "foo.t".

      Some do, but we file bugs when we notice that, and the latest versions of Test::Harness and TAP::Parser work just fine with Parrot, even on .t files that don't start with a shebang.