* tests for git-p4
@ 2008-07-12 12:24 Matt McClure
2008-07-12 14:36 ` Johannes Schindelin
2008-07-13 12:26 ` Simon Hausmann
0 siblings, 2 replies; 4+ messages in thread
From: Matt McClure @ 2008-07-12 12:24 UTC (permalink / raw)
To: git
I'm planning to write a "p4-fast-export" that will facilitate using
Bazaar on projects maintained in Perforce. I'd like to reuse code
from git-p4 since it appears to have much of the functionality I want.
In fact, the main reason I can't just use git-p4 today is that it
does too much: it pushes the Perforce fast-export representation
directly into Git. I'm going to work on covering the existing
functionality in tests before I start modifying the code, and I could
try to write those tests such that they'll be useful to the Git
project as well.
Would my tests be of interest to git-p4's authors? Is there any
existing test framework for git-p4 that I missed?
Matt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tests for git-p4
2008-07-12 12:24 tests for git-p4 Matt McClure
@ 2008-07-12 14:36 ` Johannes Schindelin
2008-07-13 12:26 ` Simon Hausmann
1 sibling, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2008-07-12 14:36 UTC (permalink / raw)
To: Matt McClure; +Cc: git
Hi,
On Sat, 12 Jul 2008, Matt McClure wrote:
> Would my tests be of interest to git-p4's authors? Is there any
> existing test framework for git-p4 that I missed?
git$ git shortlog -e -s -n -- contrib/fast-import/git-p4* | head -n 5
102 Simon Hausmann <simon@lst.de>
50 Simon Hausmann <shausman@trolltech.com>
31 Han-Wen Nienhuys <hanwen@google.com>
13 Simon Hausmann <hausmann@kde.org>
7 Marius Storm-Olsen <marius@trolltech.com>
Hth,
Dscho
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: tests for git-p4
2008-07-12 12:24 tests for git-p4 Matt McClure
2008-07-12 14:36 ` Johannes Schindelin
@ 2008-07-13 12:26 ` Simon Hausmann
2008-07-13 18:40 ` Matt McClure
1 sibling, 1 reply; 4+ messages in thread
From: Simon Hausmann @ 2008-07-13 12:26 UTC (permalink / raw)
To: Matt McClure; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 977 bytes --]
On Saturday 12 July 2008 14:24:10 Matt McClure wrote:
> I'm planning to write a "p4-fast-export" that will facilitate using
> Bazaar on projects maintained in Perforce. I'd like to reuse code
> from git-p4 since it appears to have much of the functionality I want.
> In fact, the main reason I can't just use git-p4 today is that it
> does too much: it pushes the Perforce fast-export representation
> directly into Git. I'm going to work on covering the existing
> functionality in tests before I start modifying the code, and I could
> try to write those tests such that they'll be useful to the Git
> project as well.
>
> Would my tests be of interest to git-p4's authors? Is there any
> existing test framework for git-p4 that I missed?
There are currently no automated tests for git-p4. I would certainly be
interested, but I forsee difficulties testing the interaction with p4 in a
general way independent from a specific server setup.
Simon
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tests for git-p4
2008-07-13 12:26 ` Simon Hausmann
@ 2008-07-13 18:40 ` Matt McClure
0 siblings, 0 replies; 4+ messages in thread
From: Matt McClure @ 2008-07-13 18:40 UTC (permalink / raw)
To: Simon Hausmann; +Cc: git
On Sun, Jul 13, 2008 at 8:26 AM, Simon Hausmann <simon@lst.de> wrote:
> On Saturday 12 July 2008 14:24:10 Matt McClure wrote:
> There are currently no automated tests for git-p4. I would certainly be
> interested, but I forsee difficulties testing the interaction with p4 in a
> general way independent from a specific server setup.
I can solve that by bootstrapping a p4d server for the tests that need
to exercise p4 directly. At higher levels of abstraction, if they
evolve, I could replace p4 with a test double that doesn't need a
Perforce server.
Matt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-13 18:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12 12:24 tests for git-p4 Matt McClure
2008-07-12 14:36 ` Johannes Schindelin
2008-07-13 12:26 ` Simon Hausmann
2008-07-13 18:40 ` Matt McClure
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).