Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Write UISpec4j Unit Test for a class

 
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two scenarios:

1- An orderEntry class, which is an event listener class. No constructor defined. Does not extend JPanel/JFrame. This class is defined as a bean and is initialized by spring application context.
2- An AgentMonitorBrowser class, which extends JPanel. No constructor defined. Again, same as (1), it is defined as a bean and initialized by spring app context.

Any ideas on how one could write UIspec4j unit test cases for the above cases. I have tried all searches on google and i only find myself in circles, with the same examples around.

I also took a look at abbot and I face the same issue there again....

Any ideas please?

 
reply
    Bookmark Topic Watch Topic
  • New Topic