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

Re: [ANNOUNCE] Sharness - Test library derived from Git

From
Mathias Lafeldt <mathias.lafeldt@gmail.com>
Date
Jul 20, 2012, 10:18 UTC
Message-ID
<CAMFa-2gRWRKgj140i1q9iux=eC6nWxfdUPPhb42xAG1Gr7e4vA@mail.gmail.com>
In-Reply-To
<CACBZZX6QZACjkFPEsNgAkKgnkZHDsCOEAm=-9rs=PLiSfgsXBw@mail.gmail.com>

On Tue, Jul 17, 2012 at 8:31 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

> Nice, I thought about doing something like this myself but never had the time.

Thanks. Took quite some time to take out the Git-specific functionality. And there's still a lot of room for improvement.

> Perhaps to avoid duplication we could move to this and keep
> Git-specific function in some other file.

That would be fantastic! From a technical point of view, it would make a lot of sense to join forces here.

How do you think would Sharness fit into the Git project? Is adding it as an external dependency an option?

Let's share some ideas before getting to it.
> Do you think that would be sensible, and would you be willing to
> submit patches for that?

While I haven't touched the names of the test functions, I renamed most of the global shell variables, e.g. GIT_TEST_OPTS to TEST_OPTS and TEST_DIRECTORY to SHARNESS_TEST_DIRECTORY. That might be a (minor) problem.

As for the patches: absolutely. I'd really love to give something back to Git.
-Mathias
Previous: Ævar Arnfjörð BjarmasonNext: Matthieu Moy
Message 3 of 5 in “[ANNOUNCE] Sharness - Test library derived from Git”
  1. Mathias LafeldtJul 17, 2012
  2. Ævar Arnfjörð BjarmasonJul 17, 2012
  3. Mathias LafeldtJul 20, 2012
  4. Matthieu MoyJul 20, 2012
  5. dag@cray.comJul 20, 2012

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.