make tests run faster / organize test dirs

Bug #396375 reported by Dan MacNeil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MVHub
Confirmed
Medium
Unassigned

Bug Description

Right now tests take more than two minutes to run, this is too long

TAP::Harness allows tests to be run in parallel maybe works also with:

    Test::Aggregator which allows tests to run in the style of fast_cgi to load stuff once.

test directories will have to be moved around

It would also be nice to have a "run all" command that shows only summary output

It might make sense to create an

xt/ directory for "extra tests" , take a long time
at/ directory for "author tests" ,
   stuff that is of interest only to authors, we wouldn't require test dependencies
  for when installing

a branch for this bug could probably be merged several times

Tags: add-test gsoc
Revision history for this message
Dan MacNeil (omacneil) wrote : (no subject)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

   importance medium
   done
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpTRYYACgkQLzI3mETyffyPRQCeP7V2JSq3yKTpn6Uqygv4lCeQ
4YgAnjqgRdc+U+8p5akWhh7GXzf879wz
=lMq7
-----END PGP SIGNATURE-----

Changed in mvhub:
importance: Undecided → Medium
Mansi (mansi)
Changed in mvhub:
status: New → Confirmed
Revision history for this message
Dan MacNeil (omacneil) wrote : Re: Test:Aggregate

TAP::Harness allows tests to be run in parallel probably works w/ Test::Aggregator

http://search.cpan.org/~andya/Test-Harness-3.17/lib/TAP/Harness.pm

summary: - Test:Aggregate
+ Tests take too long to run
Dan MacNeil (omacneil)
summary: - Tests take too long to run
+ make tests run faster / organize test dirs
description: updated
Revision history for this message
Lee Goodrich (leegoodrich) wrote :

From refactor.txt: Separating the development tests.

move test files that require relatively exotic modules
and are more useful for development than build/install
to dir like:

 app-mvhub/t/dev/

setup BEGIN {} guards to run only if module is installed

put modules in BUILD.PL 'recommends'

 like perltidy.t

---so installation on non development systems is easier

Dan MacNeil (omacneil)
tags: added: gsoc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.