tde-development Mailing List for Test Driven Eclipse
Status: Beta
Brought to you by:
dcorbin
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(35) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(39) |
Feb
(2) |
Mar
(55) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ben...@id...> - 2004-05-25 08:05:44
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
|
From: David C. <dc...@us...> - 2004-03-14 13:39:03
|
You mention in the patch text that you have tests for the patch? Also, I was wondering if you provide a matching patch for the documentation? On Monday 08 March 2004 12:49, Carsten Behring wrote: > Hi, > > I submited today a new patch aginst the current CVS, which adds > a new feature to TDE: > > -failing tests get marked in source code and problem list > > See the patch description for more details: > http://sourceforge.net/tracker/index.php?func=detail&aid=912101&group_id=94 >643&atid=608563 > > > Please try it out and send me any comment. > > 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...> |
|
From: David C. <dc...@ma...> - 2004-03-08 18:13:06
|
Carsten Behring wrote: > Hi, > > I submited today a new patch aginst the current CVS, which adds > a new feature to TDE: > > -failing tests get marked in source code and problem list > > See the patch description for more details: > http://sourceforge.net/tracker/index.php?func=detail&aid=912101&group_id=94643&atid=608563 > > > Please try it out and send me any comment. > > Carsten I will as soon as I can. Might be the weekend.... Thanks, for the patch, and all your help. > |
|
From: Carsten B. <car...@gm...> - 2004-03-08 17:58:43
|
Hi, I submited today a new patch aginst the current CVS, which adds a new feature to TDE: -failing tests get marked in source code and problem list See the patch description for more details: http://sourceforge.net/tracker/index.php?func=detail&aid=912101&group_id=94643&atid=608563 Please try it out and send me any comment. Carsten |
|
From: Carsten B. <car...@gm...> - 2004-03-05 02:18:23
|
> >
> > 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?
For all FULL_BUILD, all the tests for all projects of the workspace are run
(even the closed ones..). The code gets all projects from the root workspace
and then runs the tests on all projects (even the closed ones). This gives an
CoreException. (if its closed)
>
> > -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.
In the case of FULL_BUILD:
All projects, even the ones without autoTest enabled, gets checked if the TDE
builder is in the last place, even if there is no TDE builder...
For a full build it
1. gets ALL projects of the workspace (as well closed or ones without TDE
nature)
2. It validates the nature (this throws CoreException if the project is
closed).
3. It marks any project with the error marker if they do not have the TDE
builder in last position, even if they do not have a TDE builder at all.
Ceck the code in AutoTestEngine:
public void build(int kind) throws CoreException
{
doProjectBuild(info.getProject());
Set projects = null;
if (kind == IncrementalProjectBuilder.FULL_BUILD)
{
projects = fullBuild(); // **************** Gets all projects
}
....
for (Iterator i=projects.iterator(); i.hasNext(); )
{
IProject project = (IProject) i.next();
doProjectBuild(project);
}
}
private Set fullBuild()
{
final Set projects = new HashSet();
IProject[] px = ResourcesPlugin.getWorkspace().getRoot().getProjects();
for (int i=0; i<px.length; i++)
projects.add(px[i]);
return projects;
}
private void doProjectBuild(IProject project)
throws CoreException
{
adapter.setProject(project);
if (!validateBuilderPosition(adapter)) //****** throws exception if
******* project is closed or marks
******* projects with TDE nature with a problem marker
return;
adapter.runTests();
}
Try it your self. If you create several projects, close some of them and run
"Rebuild all". This throws CoreExceptions
Or you have severall projects, one with TDE nature and the rest without.
On running "Rebuild all", they get marked with the error for "builder not in
last position"
|
|
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...> |
|
From: Carsten B. <car...@gm...> - 2004-03-04 12:58:40
|
Hi, I tried today again today to checkout HEAD form the CVS and it worked. All plugins compile and the tests run without problem. 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 ? 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 -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. Regards, Carsten |
|
From: David C. <dc...@ma...> - 2004-03-03 17:55:58
|
Carsten Behring wrote: > Am Mittwoch, 3. März 2004 13:54 schrieb David Corbin: > >>I'm having serious CVS problems. I'm not sure WHERE the problems are. >>But, I (once again) *think* that i've got all the source code in CVS. >>Would someone sync HEAD and see if it builds and runs? >> >>Many thanks. > > > I can not acces the CVS at all for project TDE at sourceforge... > > carsten@box:~/workspace4$ cvs -d:pserver:ano...@cv...:/cvsroot/tde login > Logging in to :pserver:ano...@cv...:2401/cvsroot/tde > CVS password: > cvs [login aborted]: end of file from server (consult above messages if any) > carsten@box:~/workspace4$ If this problem continues, please file a support request with SourceForge. I certainly haven't done anything to take that stuff offline |
|
From: Carsten B. <car...@gm...> - 2004-03-03 13:19:13
|
Am Mittwoch, 3. M=E4rz 2004 13:54 schrieb David Corbin: > I'm having serious CVS problems. I'm not sure WHERE the problems are.=20 > But, I (once again) *think* that i've got all the source code in CVS.=20 > Would someone sync HEAD and see if it builds and runs? > > Many thanks. I can not acces the CVS at all for project TDE at sourceforge... carsten@box:~/workspace4$ cvs -d:pserver:ano...@cv...:/cvs= root/tde login Logging in to :pserver:ano...@cv...:2401/cvsroot/tde CVS password: cvs [login aborted]: end of file from server (consult above messages if any) carsten@box:~/workspace4$ |
|
From: David C. <dc...@us...> - 2004-03-03 12:59:47
|
I'm having serious CVS problems. I'm not sure WHERE the problems are. But, I (once again) *think* that i've got all the source code in CVS. Would someone sync HEAD and see if it builds and runs? Many thanks. -- David Corbin <dc...@us...> |
|
From: <dc...@us...> - 2004-03-03 03:03:14
|
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7048 Modified Files: plugin.xml Log Message: Still trying to recover the repository. Index: plugin.xml =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.tests.jdt.ui/plugin.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** plugin.xml 2 Mar 2004 01:18:39 -0000 1.3 --- plugin.xml 3 Mar 2004 02:51:01 -0000 1.4 *************** *** 23,27 **** <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.core.runtime" optional="true"/> ! <import plugin="org.eclipse.core.runtime.compatibility" optional="true"/> <import plugin="net.sourceforge.tde.tests.jdt.core"/> </requires> --- 23,27 ---- <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.core.runtime" optional="true"/> ! <import plugin="org.eclipse.core.runtime.compatibility"/> <import plugin="net.sourceforge.tde.tests.jdt.core"/> </requires> |
|
From: <dc...@us...> - 2004-03-03 03:03:14
|
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.ui/src/net/sourceforge/tde/jdt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7048/src/net/sourceforge/tde/jdt Added Files: JdtAutoTestPropertyPageTest.java Log Message: Still trying to recover the repository. |
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/src/net/sourceforge/tde/jdt/core/autotest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6990/src/net/sourceforge/tde/jdt/core/autotest Added Files: AutoTestEngineTest.java ProjectAdapterErrorTest.java LaunchConfigManagerTest.java ProjectAdapterBuildManagmentTest.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 03:02:17
|
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/src/net/sourceforge/tde/tests/jdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6934/src/net/sourceforge/tde/tests/jdt/core Added Files: TestsJdtCorePlugin.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 03:01:42
|
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6827 Modified Files: plugin.xml .project .classpath Log Message: Still trying to recover the repository. Index: plugin.xml =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/plugin.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** plugin.xml 2 Mar 2004 01:18:46 -0000 1.3 --- plugin.xml 3 Mar 2004 02:49:28 -0000 1.4 *************** *** 24,28 **** <import plugin="org.eclipse.ui.ide" optional="true"/> <import plugin="org.eclipse.core.runtime.compatibility" optional="true"/> - <import plugin="org.eclipse.jdt.debug"/> </requires> --- 24,27 ---- Index: .project =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/.project,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .project 2 Mar 2004 01:18:46 -0000 1.3 --- .project 3 Mar 2004 02:49:28 -0000 1.4 *************** *** 10,14 **** <project>org.eclipse.debug.core</project> <project>org.eclipse.jdt.core</project> - <project>org.eclipse.jdt.debug</project> <project>org.eclipse.ui.ide</project> <project>org.junit</project> --- 10,13 ---- Index: .classpath =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/.classpath,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .classpath 2 Mar 2004 01:18:46 -0000 1.3 --- .classpath 3 Mar 2004 02:49:28 -0000 1.4 *************** *** 11,15 **** <classpathentry kind="src" path="/org.eclipse.ui.ide"/> <classpathentry kind="src" path="/org.eclipse.core.runtime.compatibility"/> - <classpathentry kind="src" path="/org.eclipse.jdt.debug"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="bin"/> --- 11,14 ---- |
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/src/net/sourceforge/tde/jdt/core/autotest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6726/src/net/sourceforge/tde/jdt/core/autotest Added Files: FauxBuilder.java ProjectAdapterRunTest.java ProjectHelper.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:58:52
|
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/src/net/sourceforge/tde/tests/misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6393/src/net/sourceforge/tde/tests/misc Added Files: JavaProjectHelper.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:58:00
|
Update of /cvsroot/tde/net.sourceforge.tde.tests.jdt.core/src/net/sourceforge/tde/jdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6106/src/net/sourceforge/tde/jdt/core Added Files: NatureTest.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:55:54
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.ui/src/net/sourceforge/tde/jdt/properties In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5734/src/net/sourceforge/tde/jdt/properties Added Files: JdtAutoTestPropertyPage.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:55:54
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5734 Modified Files: .classpath .project Log Message: Still trying to recover the repository. Index: .classpath =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.jdt.ui/.classpath,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .classpath 2 Mar 2004 01:18:53 -0000 1.3 --- .classpath 3 Mar 2004 02:43:40 -0000 1.4 *************** *** 13,16 **** --- 13,17 ---- <classpathentry kind="src" path="/net.sourceforge.tde.jdt.core"/> <classpathentry kind="src" path="/org.eclipse.jdt.core"/> + <classpathentry kind="src" path="/org.eclipse.osgi"/> <classpathentry kind="src" path="/org.eclipse.core.runtime.compatibility"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> Index: .project =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.jdt.ui/.project,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .project 2 Mar 2004 01:18:53 -0000 1.3 --- .project 3 Mar 2004 02:43:40 -0000 1.4 *************** *** 14,17 **** --- 14,18 ---- <project>org.eclipse.jface</project> <project>org.eclipse.jface.text</project> + <project>org.eclipse.osgi</project> <project>org.eclipse.swt</project> <project>org.eclipse.ui</project> |
|
From: <dc...@us...> - 2004-03-03 02:55:36
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.ui/src/net/sourceforge/tde/jdt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5671/src/net/sourceforge/tde/jdt Added Files: TdeJdtUiPlugin.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:55:34
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.ui/src/net/sourceforge/tde/ui/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5671/src/net/sourceforge/tde/ui/util Added Files: PixelConverter.java SWTUtil.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:52:46
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.core/src/net/sourceforge/tde/jdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5139/src/net/sourceforge/tde/jdt/core Added Files: TdeJdtCorePlugin.java Log Message: Still trying to recover the repository. |
|
From: <dc...@us...> - 2004-03-03 02:52:44
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5139 Modified Files: .project .classpath plugin.xml Log Message: Still trying to recover the repository. Index: .project =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.jdt.core/.project,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .project 2 Mar 2004 01:18:15 -0000 1.3 --- .project 3 Mar 2004 02:40:31 -0000 1.4 *************** *** 7,10 **** --- 7,11 ---- <project>org.eclipse.core.runtime.compatibility</project> <project>org.eclipse.debug.core</project> + <project>org.eclipse.osgi</project> </projects> <buildSpec> Index: .classpath =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.jdt.core/.classpath,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .classpath 2 Mar 2004 01:18:15 -0000 1.3 --- .classpath 3 Mar 2004 02:40:31 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- <classpathentry kind="src" path="/org.eclipse.core.resources"/> <classpathentry kind="src" path="/org.eclipse.debug.core"/> + <classpathentry kind="src" path="/org.eclipse.osgi"/> <classpathentry kind="src" path="/org.eclipse.core.runtime.compatibility"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> Index: plugin.xml =================================================================== RCS file: /cvsroot/tde/net.sourceforge.tde.jdt.core/plugin.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** plugin.xml 2 Mar 2004 01:18:15 -0000 1.7 --- plugin.xml 3 Mar 2004 02:40:31 -0000 1.8 *************** *** 15,18 **** --- 15,19 ---- <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.debug.core"/> + <import plugin="org.eclipse.osgi" optional="true"/> </requires> |
|
From: <dc...@us...> - 2004-03-03 02:52:44
|
Update of /cvsroot/tde/net.sourceforge.tde.jdt.core/src/net/sourceforge/tde/jdt/core/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5139/src/net/sourceforge/tde/jdt/core/util Added Files: CoreUtil.java Log Message: Still trying to recover the repository. |