git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: tests for git-p4

From
Matt McClure <mlm@aya.yale.edu>
Date
Jul 13, 2008, 18:40 UTC
Message-ID
<e48c5e540807131140k754dbb88k36dd8fb463e6fc6b@mail.gmail.com>
In-Reply-To
<200807131426.09688.simon@lst.de>
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
Previous: Simon Hausmann
Message 4 of 4 in “tests for git-p4”
  1. Matt McClureJul 12, 2008
  2. Johannes SchindelinJul 12, 2008
  3. Simon HausmannJul 13, 2008
  4. Matt McClureJul 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.