• 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

Testing Spring WS Web Services - suggestions?

 
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our application has Spring injection of DAO objects into its methods.

My question, then, is how to best test the application's methods using, I'm currently trying, JUnit.

Although I can do some relatively simple tests, to really test the method the Test class tests, I'd also have to inject the DAO object into the Test class.

Does this make sense?

A Test could have basically anything deemed important, but I'm trying to see how others do this type of testing.

Thanks in advance for any advice or suggestions.

-mike
 
reply
    Bookmark Topic Watch Topic
  • New Topic