Thread (9 messages) flat view 9 messages, 5 authors, 2017-08-24

RE: splitting off shell test framework

From: Pyeron, Jason J CTR (US) <hidden>
Date: 2016-06-15 22:55:15

-----Original Message-----
From: Felipe Contreras
Sent: Monday, November 12, 2012 11:44 AM

On Mon, Nov 12, 2012 at 5:37 PM, Adam Spiers [off-list ref]
wrote:
quoted
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
quoted
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.

The Apache Maven project is migrating to GIT right now and they just covered a long discussion on the pros and cons of this (sort of). It might be a bit of a read [1] but I can also provide some perspective. The question is asked in reverse in [2] since Maven had them separate and some suggested to merge them.

1: http://mail-archives.apache.org/mod_mbox/maven-dev/201210.mbox/%3cA5D13406-474A-43E6-9708-D5D4DE9BE64C@tesla.io%3e
2: http://mail-archives.apache.org/mod_mbox/maven-dev/201210.mbox/%3c1349937687.79626.YahooMailNeo@web28903.mail.ir2.yahoo.com%3e 



Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help