• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Junit tests for Swing components in Visual Editor

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any way I can write tests for my Swing components. I am using Eclipse Visual Editor to develop the components. If there is a way of writing Junit test scripts for the same. Can anyone please pass on a good sample test example for starters.

Regards
Thomas
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a look at these for some ideas:
Jeff Langr: Crafting Java with Test-Driven Development, Part 9: Driving a User Interface

Micheal Feathers: The Humble Dialog Box(PDF)
Presenter First: Organizing Complex GUI Applications for Test-Driven Development (PDF) from the Presenter First page
Supervising Presenter Passive View
 
reply
    Bookmark Topic Watch Topic
  • New Topic