• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

TestNG for integration testing

 
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do I use TestNg for integration testing ? Is there any guideline on this ?
 
author
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Prad,

Originally posted by Prad Bhat:
How do I use TestNg for integration testing ? Is there any guideline on this ?



A big portion of our book is dedicated to integration testing. Here are a couple of features that are built natively into TestNG that make integration testing very easy:

- A straightforward API that lets you create and configure a full TestNG runner inside the container (i.e. on the server side) so that you can run tests on your actual logic instead of having to mock it on the client side.

- Dependency testing. With this feature, you can specify that your tests should be run in a certain order ("don't run the servlet tests unless all the database tests have passed").

There are over a hundred pages in the book dedicated to integration and enterprise testing alone, so we cover a lot of this area...

Hope this answers your question.

--
Cedric
 
Pradeep bhatt
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Cedric.Hope to read your book soon
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic