Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] why are JGit unit tests in separate projects

On Mon, Sep 2, 2013 at 7:00 AM, Matthias Sohn <matthias.sohn@xxxxxxxxx> wrote:
> I am wondering why JGit unit tests are living in their own separate Eclipse
> projects / Maven modules.
> Signing would be easier if they would reside in tst folder of the project /
> module they test.

Because the tests depend on JUnit, which the main bundles don't. If
you put them into the same project then the production code can see
JUnit and possibly other dependencies that exist only for the test
cases. I did not want that.

Of course Gerrit now goes to the extreme opposite where there is one
massive classpath for everything. *sigh*


Back to the top