Swinger video

View: New views
13 Messages — Rating Filter:   Alert me  

Swinger video

by Demetrius Nunes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step definition library for testing Java/Swing applications. Here's the link:
Anyone has the same need for testing Swing apps?

Regards,
Demetrius
--
____________________________
http://blog.demetriusnunes.com

Re: Swinger video

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 9, 2009 at 11:15 PM, Demetrius
Nunes<demetriusnunes@...> wrote:
> Hi guys,
> I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step
> definition library for testing Java/Swing applications. Here's the link:
> http://blog.demetriusnunes.com/past/2009/6/9/who_said_you_cant_test_swing_apps/

That's pretty cool :) I'd say just about anyone who writes Swing apps
has this need.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Swinger video

by Demetrius Nunes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the tweet and reply Charlie, I appreciate it. Let's see if other people get excited about it.

Cheers.

On Wed, Jun 10, 2009 at 2:05 AM, Charles Oliver Nutter <headius@...> wrote:
On Tue, Jun 9, 2009 at 11:15 PM, Demetrius
Nunes<demetriusnunes@...> wrote:
> Hi guys,
> I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step
> definition library for testing Java/Swing applications. Here's the link:
> http://blog.demetriusnunes.com/past/2009/6/9/who_said_you_cant_test_swing_apps/

That's pretty cool :) I'd say just about anyone who writes Swing apps
has this need.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
____________________________
http://www.demetriusnunes.com

Re: Swinger video

by Matt Fletcher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is great. It's nice to hear that there are others interested in automated Swing testing.

At Atomic Object, we have been creating automated tests using a combination of FEST (http://code.google.com/p/fest) and Ruby helper methods wrapping functions specific to our application. For example, the Ruby 'play' method wraps the FEST operations needed to start our simulator (http://spin.atomicobject.com/2009/01/30/ruby-for-desktop-applications-yes-we-can). Likewise, 'reset' presses the appropriate buttons to reset the simulator.

We haven't published anything since our helpers are so tuned specific to our applications. Swinger looks like a great start to a highly reusable Swing testing harness.

Jemmy looks like an interesting library. Do you have any experience with FEST? It looks like Jemmy tries to be just a robot, whereas FEST provides finders along with a robot. Does this sound about right?

On Wed, Jun 10, 2009 at 12:15 AM, Demetrius Nunes <demetriusnunes@...> wrote:
Hi guys,

I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step definition library for testing Java/Swing applications. Here's the link:
Anyone has the same need for testing Swing apps?

Regards,
Demetrius
--
____________________________
http://blog.demetriusnunes.com


Re: Swinger video

by david_koontz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That looks spiffy.  I know Logan Barnett started in on Cucumber steps for stuff we were doing with Monkeybars using just reflection to get at the components but using Jemmy is probably a better way of doing this.

David Koontz

On Jun 9, 2009, at 9:15 PM, Demetrius Nunes wrote:

Hi guys,

I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step definition library for testing Java/Swing applications. Here's the link:
Anyone has the same need for testing Swing apps?

Regards,
Demetrius
--
____________________________
http://blog.demetriusnunes.com


Re: Swinger video

by Michael Campbell-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Demetrius Nunes wrote:
> Hi guys,
>
> I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber
> step definition library for testing Java/Swing applications. Here's the
> link:
> http://blog.demetriusnunes.com/past/2009/6/9/who_said_you_cant_test_swing_apps/
>
> Anyone has the same need for testing Swing apps?

I have to say that when I first saw this mail, I thought for sure it was spam.  =)

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Swinger video

by Jay McGaffigan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

LOL.

I often feel like I'm way out of touch..

Swinger, drools, jemmy, monkeybars, cucumber, webrat...

It seems like every day there are a ton of new gems... Which is AWESOME..

Although it's hard to keep up :P (and fulfill the duties of my day
job, and family life :P)

Jay

On Wed, Jun 10, 2009 at 2:03 PM, Michael
Campbell<michael.campbell@...> wrote:

> Demetrius Nunes wrote:
>>
>> Hi guys,
>>
>> I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber
>> step definition library for testing Java/Swing applications. Here's the
>> link:
>>
>> http://blog.demetriusnunes.com/past/2009/6/9/who_said_you_cant_test_swing_apps/
>>
>> Anyone has the same need for testing Swing apps?
>
> I have to say that when I first saw this mail, I thought for sure it was
> spam.  =)
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Swinger video

by Logan Barnett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm definitely going to hook this into Monkeybars. Thanks!


On Jun 9, 2009, at 9:15 PM, Demetrius Nunes wrote:

Hi guys,

I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step definition library for testing Java/Swing applications. Here's the link:
Anyone has the same need for testing Swing apps?

Regards,
Demetrius
--
____________________________
http://blog.demetriusnunes.com


Re: Swinger video

by mdrn28 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Campbell-4 wrote:
I have to say that when I first saw this mail, I thought for sure it was spam.  =)
Oh good, I'm glad I'm not the only one who thought it was spam. :-)

Re: Swinger video

by James Britt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Koontz wrote:
> That looks spiffy.  I know Logan Barnett started in on Cucumber steps
> for stuff we were doing with Monkeybars using just reflection to get at
> the components but using Jemmy is probably a better way of doing this.
>

One big problem I ran into with cucumber + Monkeybars was exiting the app.

If I had a spec that that clicked the Exit menu item, for  example, the
entire JVM process was ended, including the spec run.  As a result I
would not get any final report.

Some hackery got me around that, but a better solution would have the
app being tested isolated from the process doing the testing.


James

--

Neurogami - Smart application development

http://www.neurogami.com

james@...





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Swinger video

by Demetrius Nunes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed, Jun 10, 2009 at 12:42 PM, Matt Fletcher <fletcher@...> wrote:

Jemmy looks like an interesting library. Do you have any experience with FEST? It looks like Jemmy tries to be just a robot, whereas FEST provides finders along with a robot. Does this sound about right?

Never seen FEST before. Looks good as well. Don't know how would it compare to Jemmy.

About Jemmy: it's not only a robot. It implements several "finder" strategies for  locating each widget within the app and let's you implement your own as well. For instance, in Swinger, I've implemented a findByTooltip strategy for buttons, using JRuby. Jemmy is used by the Netbeans team to test Netbeans itself, so it's pretty complete.

Cheers!
Demetrius
--
____________________________
http://blog.demetriusnunes.com

Re: Swinger video

by Demetrius Nunes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I really like Monkeybars (although I prefer to use MVP instead of MVC). Let me know if you need any help!

On Wed, Jun 10, 2009 at 5:38 PM, Logan Barnett <logustus@...> wrote:
I'm definitely going to hook this into Monkeybars. Thanks!


On Jun 9, 2009, at 9:15 PM, Demetrius Nunes wrote:

Hi guys,

I've just posted a small 30 sec video demoing Swinger, a JRuby-Cucumber step definition library for testing Java/Swing applications. Here's the link:
Anyone has the same need for testing Swing apps?

Regards,
Demetrius
--
____________________________
http://blog.demetriusnunes.com




--
____________________________
http://www.demetriusnunes.com

Re: Swinger video

by Demetrius Nunes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hehe, it was meant to be kinda of funny... Not sure if it was a good idea for search engines and spam filters though.

On Wed, Jun 10, 2009 at 5:57 PM, mdrn28 <shannon.madsen@...> wrote:


Michael Campbell-4 wrote:
>
>
> I have to say that when I first saw this mail, I thought for sure it was
> spam.  =)
>
>

Oh good, I'm glad I'm not the only one who thought it was spam. :-)

--
View this message in context: http://www.nabble.com/Swinger-video-tp23955492p23970873.html
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
____________________________
http://www.demetriusnunes.com