• 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

TestNG for integration testing

 
Ranch Hand
Posts: 8945
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: 8945
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
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic