Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] UI-Tests and Builds


Hi Naci,

The server.ui tests haven't changed in several weeks, and I can run them fine from here. I trust that you haven't been clicking on this dialog for several weeks before mentioning it, so something has probably changed recently to make the dialog appear. I completely agree that our JUnit UI tests should not involve user interaction.

Can you please post a screencap of the dialog or open a bugzilla so that we can track where the dialog is coming from? From there either this is a bogus dialog that shouldn't appear, or I'll have to rewrite the testcase to react to the change.

Thanks,
Tim deBoer
WebSphere Tools - IBM Canada Ltd.
(905) 413-3503  (tieline 969)
deboer@xxxxxxxxxx



Naci Dai <naci.dai@xxxxxxxxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

04/14/2005 01:08 AM

Please respond to
"General discussion of project-wide or architectural issues."

To
wtp-dev@xxxxxxxxxxx
cc
Subject
[wtp-dev] UI-Tests and Builds





Comitters,

If you are contributing UI tests, you should be extra careful on how these tests will behave under certain failure conditions. i.e. you should also test the tests :-)  

The reason I am mentioning this is we currently have a ui tests that pops a modal error dialog, which is expecting an interactive user to click ok to continue.  The effect is that the build is blocked until someone can click OK.  Our builds typically run unattended (there is none one to click ok) so this is not an acceptable test.




    [java]      [java] ui-test:

    [java]      [java] eclipse-test:
    [java]      [java]      [echo] Running org.eclipse.wst.server.ui.tests.AllTests

    [java]      [java]      [java] !SESSION 2005-04-14 06:36:12.592 -----------------------------------------------
    [java]      [java]      [java] eclipse.buildId=I20050401-1645
    [java]      [java]      [java] java.version=1.4.2_08
    [java]      [java]      [java] java.vendor=Sun Microsystems Inc.
    [java]      [java]      [java] BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    [java]      [java]      [java] Framework arguments:  -application org.eclipse.test.uitestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.wst.server.ui.tests.AllTests.xml -testPluginName org.eclipse.wst.server.ui.tests -className org.eclipse.wst.server.ui.tests.AllTests
    [java]      [java]      [java] Command-line arguments:  -application org.eclipse.test.uitestapplication -dev bin -data /home/build-home/test-current-I/eclipse/wst_folder formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.wst.server.ui.tests.AllTests.xml -testPluginName org.eclipse.wst.server.ui.tests -className org.eclipse.wst.server.ui.tests.AllTests -os linux -ws gtk -arch x86 -consolelog

    [java]      [java]      [java] !ENTRY org.eclipse.ui 4 4 2005-04-14 06:36:12.597
    [java]      [java]      [java] !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
    [java]      [java]      [java] !ENTRY org.eclipse.ui 2 0 2005-04-14 06:36:12.599
    [java]      [java]      [java] !MESSAGE Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
    [java]      [java]      [java] Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
    [java]      [java]      [java] Reason:
    [java]      [java]      [java] Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point
    [java]      [java]      [java] !SUBENTRY 1 org.eclipse.ui 2 0 2005-04-14 06:36:12.600
    [java]      [java]      [java] !MESSAGE Defining a key binding with no key sequence has no effect: plug-in='org.eclipse.wst.xsd.ui',          
    [java]      [java]      [java] !SUBENTRY 1 org.eclipse.ui 2 0 2005-04-14 06:36:12.601
    [java]      [java]      [java] !MESSAGE Defining a key binding with no key sequence has no effect: plug-in='org.eclipse.wst.xsd.ui',
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top