Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Testing and the fly likes TestNG Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "TestNG " Watch "TestNG " New topic
Author

TestNG

Umesh Adgaonkar
Greenhorn

Joined: Apr 30, 2005
Posts: 4
Has anyone used TestNG?
TestNG is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc...
Does any has done the end-to-end testing usingTestNG?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Didn't yet feel the need to try it. For developer testing, I'm quite happy with JUnit; for acceptance testing, I prefer something that looks more like something business people can understand, for example FIT/FitNesse.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30057
    
149

Umesh,
I'm in the same boat as Ilja. I am happy with JUnit for unit and integration tests. For end to end GUI tests, I prefer to use a browser based tool. For end to end back end tests (like file processing), I am also happy with JUnit.

TestNG has a couple "features" that scare me, like test dependencies. I don't want the ability to do that! While I'm sure it's possible to use this in a good way, I view it as giving you rope to hang yourself. Most of the other features seem like they have the potential to be useful, but don't address a need we have at the moment.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TestNG
 
Similar Threads
Next Generation Java Testing book
TestNG Groups or Categorisation
How to fake a client
TestNg or Junit
JUnit vs TestNG