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

Re: splitting off shell test framework

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 12, 2012, 16:44 UTC
Message-ID
<CAMP44s2n56c=k4o6wup81Hb3WNzuDLkL30GpMdivQixJX_YOsw@mail.gmail.com>
In-Reply-To
<CAOkDyE8KxFvM4CJhC4U=Jb95D6HQ-4qQBtKAgBMyHH15UOhvqg@mail.gmail.com>
On Mon, Nov 12, 2012 at 5:37 PM, Adam Spiers <git@adamspiers.org> wrote:
Show 19 quoted lines
> I've been pretty impressed with git's test framework, and I'm not
> aware of many other (decent) shell-based test frameworks out there.
> (One that springs to mind is the one used by rvm, but last time I
> looked - admittedly a while ago now - it had limitations).
>
> Recently a situation arose where I craved the ability to test
> something via shell.  I did a quick proof of concept and successfully
> extracted out the non-git-specific bits of git's test framework to be
> used to test something entirely unrelated to git:
>
>     https://github.com/aspiers/shell-env/tree/master/t
>
> As it turned out to be fairly easy, I was wondering if there would be
> any interest in doing this more formally, i.e. splitting off the
> framework so that it could be used and improved outside the scope of
> git development?  Of course this would pose the question how git would
> consume this new project without any risk of destabilisation.  I'm
> guessing that simply using a git submodule would solve the problem,
> but ICBW ...

FWIW, the notmuch project seems to be doing the same; extracting and using git's test framework.

> Just an idea.  Interesting, or terrible? :)
That I don't know :)
-- 
Felipe Contreras
Previous: Adam SpiersNext: Pyeron, Jason J CTR (US)
Message 2 of 9 in “splitting off shell test framework”
  1. Adam SpiersNov 12, 2012
  2. Felipe ContrerasNov 12, 2012
  3. Pyeron, Jason J CTR (US)Nov 12, 2012
  4. Drew NorthupNov 12, 2012
  5. Adam SpiersNov 12, 2012
  6. Adam SpiersAug 23, 2017
  7. Jeff KingAug 23, 2017
  8. Adam SpiersAug 23, 2017
  9. Jeff KingAug 24, 2017

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.