Re: [Tde-development] CVS works
Status: Beta
Brought to you by:
dcorbin
|
From: David C. <dc...@us...> - 2004-03-05 01:25:25
|
On Thursday 04 March 2004 07:56, Carsten Behring wrote: > Hi, > > I tried today again today to checkout HEAD form the CVS and it worked. > All plugins compile and the tests run without problem. > Great. > I looked a bit in the code as well, and I found one strange behavoiur in > AutoTestEngine.java. > > In the method > public void build(int kind) > > which is called from the eclipse build system ones for EACH project to > build, the tests of ALL projects are run. > That means if I have 3 projects(with auto test nature) open and I do > "rebuild all" the method runs all the tests 3 times. So a "rebuild all" > results in 9 test runs (instead of 3). > Would it not be easier to run always the tests of the current project only > ? Easier, maybe, but flawed (not that the current implementation isn't). It's a common practice (in eclipse plugins anyway) to have all the tests in one project, and all the production code in another. If I understand your suggestion correctly, changes to the production code would no cause tests tor run. What I would like to do is find a way to run the tests once, after all the necessary builds are done, but I'm not sure how to do it. > This solves as well the next two issues. > > > In the same class I found two problems: > Because the tests are started for all projects, there are two problems: > -it fails, if a project is closed I don't understand. If a project is closed, how is it relevant? > -Its checked even for a project without the TDE nature, if the builder is > in the last position. This results to the fact that all projects which do > not have the TDE nature, become marked with an error. Marked with what error? I don't understand this. > > Regards, > Carsten > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Tde-development mailing list > Tde...@li... > https://lists.sourceforge.net/lists/listinfo/tde-development -- David Corbin <dc...@us...> |