On 1/21/12 3:17 AM, Jonathan "Duke" Leto wrote:
Howdy,

Please review the kid51/fulltest_easy now on github.

On this branch I have tested 'make fulltest', 'make smolder_fulltest' and
'perl t/fullharness' successfully -- but of course all the boxes I have
available already have the necessary modules installed.  So it would be good
to test on a box which lacks TAP::Harness::Archive or anything in
TAP-Harness-Multiple.

You can run test suites without modules with
https://metacpan.org/module/Test::Without::Module

like so:

perl -MTest::Without::Module=Some::Module -w -Iblib/lib t/SomeModule.t


Thanks for that suggestion. I installed that library and, with one correction in the kid51/fulltest_easy branch to t/fullharness, this now should work as intended:

$ perl -MTest::Without::Module=TAP::Harness::ReportByDescription t/fullharness --archive --in-testing
To run make smolder_fulltest, please install
  TAP::Harness::Archive and TAP::Harness::ReportByDescription from CPAN.
  From the cpan shell: 'install TAP::Harness::ReportByDescription'.
  With cpanminus     : cpanm TAP::Harness::ReportByDescription
 at t/fullharness line 68

$ perl -MTest::Without::Module=TAP::Harness::Archive t/fullharness --archive --in-testing
To run make smolder_fulltest, please install
  TAP::Harness::Archive and TAP::Harness::ReportByDescription from CPAN.
  From the cpan shell: 'install TAP::Harness::ReportByDescription'.
  With cpanminus     : cpanm TAP::Harness::ReportByDescription
 at t/fullharness line 68

$ perl -MTest::Without::Module=TAP::Harness::Archive t/fullharness --in-testing
testb: running with: --runcore=bounds -D40 --gc-debug
testb__t/oo/attributes.t ...... ok
[snip]
headerizer: running with: -D40 --gc-debug
headerizer__t/tools/dev/headerizer/01_functions.t .. ok
headerizer__t/tools/dev/headerizer/02_methods.t .... ok
All tests successful.
Files=44, Tests=1357, 3 wallclock secs ( 0.23 usr 0.09 sys + 2.17 cusr 0.69 csys = 3.18 CPU)
Result: PASS
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to