|
From: Luke T. <ne...@fr...> - 2004-04-30 19:44:09
|
My main concern isn't so much whether they are in the test or src tree, it's just that the overall structure seems a bit haphazard. And I don't see why they should be split from the core when other modules aren't. If separate modules are going to be split from the codebase then it would make sense to follow a standard pattern, e.g. core | - src | - test mock | - src other | - src | - test Ok, Ok... so my main concern is that it won't work with my Maven build unless I hack it :) and until then my reports are stuck at Apr 28th. But I agree with the aims Maven had of establishing a common structure for project layouts, even though you could easily argue that they aren't exactly a shining example of best practice development themselves. Luke. jürgen höller [werk3AT] wrote: > IMO, there's a strong difference between the "mock" and the "test" > tree: The latter is a rough test suite for the framework itself, > while the former contains polished mock classes that are also useful > for applications, thus get distributed as "spring-mock.jar". The > mocks would even fit better in "src" than in "test" in that respect. > > Actually, the "mock" tree is more similar to the main "src" tree than > the "test" tree in a number of respects: It's meant to be used by > applications, shipped as jar , included in the javadoc, and requires > higher coding standards than the framework test suite. I'm quite > strongly against keeping that sort of classes in the "test" tree. > > Juergen > > -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk |