Regis Medina | 4 Apr 2005 22:41

[TFUI] UISpec4J: an open source library for testing Java/Swing applications


Hi,

Some friends and I started an open source project several months ago, 
in order to build a library for making Swing-based applications 
testing easier.

Even though the project is still in its infancy, we have been using it 
quite heavily on our professional projects and now consider it mature 
enough to be tested by other people.

You can learn more about our project here:

  http://www.uispec4j.org/

Your questions and feedback are welcome!

Régis.

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

(Continue reading)

Phlip | 4 Apr 2005 23:14
Picon
Gravatar

Re: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Regis Medina wrote:
> 
> Some friends and I started an open source project several months ago,
> in order to build a library for making Swing-based applications
> testing easier.
> 
> Even though the project is still in its infancy, we have been using it
> quite heavily on our professional projects and now consider it mature
> enough to be tested by other people.
> 
> You can learn more about our project here:
> 
>   http://www.uispec4j.org/
> 
> Your questions and feedback are welcome!

I can't Swing (something to do with this "marriage" situation)...

How easily can your rig temporarily display the GUI under test, such
as in a reveal() method?

Read for the rationale behind reveal():

http://www.c2.com/cgi/wiki?TestFirstUserInterfacesPrinciples

--

-- 
Phlip

To unsubscribe, email:
(Continue reading)

Ilja Preuss | 5 Apr 2005 11:28
Favicon

RE: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Regis Medina wrote:
> Hi,
> 
> Some friends and I started an open source project several months ago,
> in order to build a library for making Swing-based applications
> testing easier. 
> 
> Even though the project is still in its infancy, we have been using it
> quite heavily on our professional projects and now consider it mature
> enough to be tested by other people.
> 
> You can learn more about our project here:
> 
>   http://www.uispec4j.org/
> 
> 
> Your questions and feedback are welcome!

Interesting. How does it compare to Jemmy?

Cheers, Ilja

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/
(Continue reading)

Phlip | 5 Apr 2005 13:03
Picon
Gravatar

Re: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Ilja Preuss wrote:

> >   http://www.uispec4j.org/
> >
> > Your questions and feedback are welcome!
> 
> Interesting. How does it compare to Jemmy?

Maybe it's actively maintained? ;-)

--

-- 
Phlip

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Regis Medina | 6 Apr 2005 08:42

Re: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Hi Phlip,

> How easily can your rig temporarily display the GUI under test, such
> as in a reveal() method?

There is no such function available in the tool now, mainly because we 
had another way for doing this: in each "panel" test class, we usually 
write a little "main()" which displays it and allows the developer to 
check its layout and general look.

However, this "reveal()" function sounds interesting to me, I will put 
 it on our todo list.

Thanks for the tip !

Régis.

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
(Continue reading)

Regis Medina | 6 Apr 2005 09:02

Re: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Hi Ilja,

> Interesting. How does it compare to Jemmy?

Well, we just read Jemmy's documentation and didn't actually try it, 
but from what we read we found that Jemmy's APIs still resulted in 
quite complex scripts, and we wanted means for checking a whole tree 
or a whole table in a single statement. 

UISpec4J is an extension of JUnit: our components do make assertions, 
instead of just returning values to be checked with assertEquals & co.

Regards,

Régis.

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
(Continue reading)

Phlip | 6 Apr 2005 16:16
Picon
Gravatar

Re: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Regis Medina wrote:
> 
> Hi Phlip,
> 
> > How easily can your rig temporarily display the GUI under test, such
> > as in a reveal() method?
> 
> There is no such function available in the tool now, mainly because we
> had another way for doing this: in each "panel" test class, we usually
> write a little "main()" which displays it and allows the developer to
> check its layout and general look.
> 
> However, this "reveal()" function sounds interesting to me, I will put
>  it on our todo list.

You might already have it.

The "best" reveal() has these features:

 - reveal suspends test evaluation. One keystroke should
   close the window

 - user input events to the reveal() window "work", meaning
   the programmer won't be surprised. One can display a half-
   built window, for example

 - when you close the window, the rest of its test case
   works correctly (unless you mucked up the controls),
   and the remaining test cases work correctly
(Continue reading)

Regis Medina | 6 Apr 2005 18:27

Re: [TFUI] UISpec4J: an open source library for testing Java/Swing applications


Hi Phlip,

> The "best" reveal() has these features:
> [...]

I just created a new item in our issue tracking system, in which I noted 
your advices list. 
Thanks for the suggestion,

Régis.

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Dowding George A | 9 Apr 2005 23:24

[TFUI] reveal for eclipse plugin


Hi,

I am writing an eclipse plugin.  Right now I am working on the application logic.  At some point I will 
have to hook into the eclipse and interact with some graphical components.  I have been reading the 
TFUI principles but am a little mystified as to how to apply them to this situation.  This is partly due 
to my inexperience with eclipse's api.  I was just wondering if anyone had any specific advice/
experience to this situation.

Thanks.

George A. Dowding
http://www.cs.clemson.edu/~gdowdin
112 McAdams

To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe@...

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

(Continue reading)

Hugo Garcia | 20 Apr 2005 15:00
Picon

Re: [TFUI] reveal for eclipse plugin


Hi

Abbot provides the framwork for TFUI yet... there is a caveat that I
think is applicable for any TDD. In order to do TDD you must
understand the domain that you want to test at the conceptual level.
Deeper undestanding if not available can and will surface as you
perfrom TDD. In this case it is SWT, JFace and the Eclispe API as it
pertains to plug-in development. That said, here is the url to Abbot:

http://abbot.sourceforge.net/

cheers

-H

On 4/9/05, Dowding George A <gdowdin@...> wrote:
> 
> Hi,
> 
> I am writing an eclipse plugin.  Right now I am working on the application logic.  At some point I will
> have to hook into the eclipse and interact with some graphical components.  I have been reading the
> TFUI principles but am a little mystified as to how to apply them to this situation.  This is partly due
> to my inexperience with eclipse's api.  I was just wondering if anyone had any specific advice/
> experience to this situation.
> 
> Thanks.
> 
> George A. Dowding
> http://www.cs.clemson.edu/~gdowdin
(Continue reading)


Gmane