Athen
journeyman
Reged: 06/05/07
Posts: 79
Loc: San Francisco, CA
|
|
Share your thoughts about test-driven development, FEST, or this article: "Test-driven GUI development with FEST" (Alex Ruiz, JavaWorld, July 2007).
|
Unregistered
|
|
I've tried the examples and it looks like this could be very useful to me. Testing GUI's has always been a pain and this could lessen that. Is there anywhere with comprehensive documentation on using FEST?
|
Athen
journeyman
Reged: 06/05/07
Posts: 79
Loc: San Francisco, CA
|
|
Sure -- see the Resources section for "Test-driven GUI development with FEST." You'll find more articles listed there about FEST, TestNG-Abbot, and functional Swing GUI testing. Or go directly to the FEST homepage to download the FEST library and documentation.
|
Alex Ruiz
Unregistered
|
|
FEST home page has a "Getting Started" guide and links to the javadocs . Please let us know if you have any questions/comments/suggestions at the user's group 
Best regards, -Alex.
|
Alex_Ruiz
stranger
Reged: 07/25/07
Posts: 2
|
|
We just release a JUnit extension that allows developers to embed screenshots of failing GUI tests in JUnit HTML reports. For more info please click here.
Best regards, -Alex.
|
Unregistered
|
|
I seem to get a ComponenetLookupException when i try to use FEST. below the code i'm trying to run. any ideas?
public class SimpleGUITestFEST extends TestCase { private FrameFixture frame;
public void setUp () { frame = new FrameFixture (new MyFrame ()); } public void tearDown () { frame.cleanUp (); }
public void testButton () throws Exception { if (frame == null) System.out.println ("error: frame is null");
frame.button ("haha").click (); }
private class MyFrame extends JFrame { private JFrame theFrame;
public MyFrame () { theFrame = new JFrame ("Testing FEST"); JButton button = new JButton ("haha"); button.setName ("haha"); theFrame.getContentPane ().add (button); theFrame.pack (); theFrame.setVisible (true); } }
}
|
Alex_Ruiz
stranger
Reged: 07/25/07
Posts: 2
|
|
You need to call frame.show() in setUp().
Unfortunately, I don't get notifications when comments are posted for the article. If you have questions, post them in the FEST Users' Group too. This way, you can get help faster 
The link is http://groups.google.com/group/easytesting
Regards, -Alex
|