|
From: <Vin...@ge...> - 2002-04-11 13:17:43
|
Sorry Jeff this was supposed to go to the list. Doh that makes twice in one day! > -----Original Message----- > From: Vincent Tencé [mailto:vin...@ge...] > Sent: Wednesday, April 10, 2002 1:34 PM > To: 'Jeff Martin' > Subject: RE: [MO-java-dev] Location of test source > > > I think it's a small price to pay compared to the benefits of > the structure described by Ringo. I usually go > src/java > src/test > src/mockobjects > and it's pretty convenient. > > Vincent > > > -----Original Message----- > > From: moc...@li... > > [mailto:moc...@li...]On > Behalf Of > > Jeff Martin > > Sent: Wednesday, April 10, 2002 10:54 AM > > To: MockObjects > > Subject: RE: [MO-java-dev] Location of test source > > > > > > I much prefer to keep tests in the same place as the java > files. As an > > example, I've never really looked at the mock objects test > package. I > > probably should but unless I know that there is a test I need > > to update > > I'm not going to look in there just to see if the change I > make should > > be tested. If the test in the the same package as the class > it's much > > harder for me to miss the test. > > > > On Wed, 2002-04-10 at 11:55, rin...@me... wrote: > > > Hello Jeff, > > > > > > > I'm currently seperating out the jdk classes from the > > core mockobject > > > > classes hopefully we'll end up with something like this. > > > > > > > > src/core/ > > > > src/jdk/common/ > > > > /1.1/ > > > > /1.2/ > > > > /1.3/ > > > > /1.4/ > > > > src/j2ee/common > > > > /1.2/ > > > > /1.3/ > > > > > > > > > > What about appending each of this folders with java and > > test, like they do > > > in a number of Apache projects? e.g: > > > > > > src/core/java > > > src/core/test > > > src/jdk/common/java > > > src/jdk/common/test > > > ... > > > > > > In Apache style, configuration files are placed in a third > > subdirectory > > > named conf, e.g. > > > > > > src/core/conf > > > src/jdk/common/conf > > > ... > > > > > > Within each of these subdirectories you can take the same > > package structure. > > > Then you don't have to filter on the source files to > > distinguish between > > > production and test code. > > > > > > Ringg > > > > > > _______________________________________________ > > > Mockobjects-java-dev mailing list > > > Moc...@li... > > > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev > > -- > > > > > > _______________________________________________ > > Mockobjects-java-dev mailing list > > Moc...@li... > > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev > > > |