git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Lea Wiemann <lewiemann@gmail.com>
Cc: Petr Baudis <pasky@suse.cz>, Git Mailing List <git@vger.kernel.org>
Subject: Re: perl/Git.pm: Writing a test suite
Date: Fri, 30 May 2008 13:28:30 -0700	[thread overview]
Message-ID: <7v1w3jk041.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 484004AB.40008@gmail.com

Lea Wiemann <lewiemann@gmail.com> writes:

> 1. Is it OK for the Git.pm tests to be called from the Git test
> scripts but generate different-looking output (since the tests are run
> in Perl)?

Cosmetics.  As long as they are not disproportionally chatty nor too
terse, and correctly catch breakages and stop (if told to with -i) on the
first one, I think it is Ok to be different (e.g. no support for colored
output).

> 2. I might need external test helpers from CPAN at some point.  Is
> that a bad idea because of dependencies, or are we OK with having
> additional dependencies for running the test suite if necessary?

As long as you use the ones that is widely used in Perl world I do not
think it would be a problem.

      reply	other threads:[~2008-05-30 20:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30  7:43 perl/Git.pm: Writing a test suite Lea Wiemann
2008-05-30  8:03 ` Rafael Garcia-Suarez
2008-05-30 10:03 ` Petr Baudis
2008-05-30 13:44   ` Lea Wiemann
2008-05-30 20:28     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v1w3jk041.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=lewiemann@gmail.com \
    --cc=pasky@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).