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

Matt Sergeant writes:
> On 1 Dec 2004, at 15:13, Malte S. Stretz wrote:
> 
> >>> So I'd like to keyword some of the tests as "basic" (or whatever
> >>> keyword) and only those tests are run per default.  All other tests
> >>> would be used by us devs, people who we ask to debug one of their bug
> >>> reports aund the BuildBots.
> >>
> >> No more options, please.  And there's no reason to speed it up for
> >> users because users only run "make test" once in a while.
> >
> > My idea was that per default all tests are run (except everything which
> > requires further set-up or can fail easily like net tests or SQL).
> 
> See "prove" (now shipped with core perl) and Test::Verbose's tv command 
> (which is indispensable to any perl developer IMHO). Also consider 
> adding some tests to CVS but not adding them to the MANIFEST, which 
> will achieve what you require there.

"prove" is good, and already works with our current t scripts too --
bonus!

Re: adding some tests to CVS but not adding them to the MANIFEST: that
will indeed result in some tests that aren't in the distro but are run
from svn, but that doesn't address the situation where a test needs
extra configuration data (such as LDAP schema to use, LDAP server,
blah blah).

Still, it's a good way to have SVN-only tests.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFBr2maMJF5cimLx9ARAnpZAJwNso5hp9fhFfzxulrdO9YG4a/JqACgs3hQ
J/sKng0FFtWQ2AGmJjfG2tw=
=dZZD
-----END PGP SIGNATURE-----

Reply via email to