• 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

Automated Testing Tools

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I was wanting to get some ideas of some good automated testing tools. Can you help?
Thanks!
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is it that you are looking to test and at what level? For example, there are tools that help to unit test Java classes right up to tools that automate functional testing of GUIs.
Simon
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like to know the Automated Unit testing tools for Java apart from JUnit, since JUnit is not much Helpful atleast in terms of our project. Its Urgent..?
Thanks in adv
Keshav
 
Simon Brown
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why is JUnit not useful? What are you trying to test?
Simon
 
Keshav Anand
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First is we cant test the methods returning void properly using JUnit and it tests only the return types of the methods and its a tedious process to call the methods with different sets of data again and again...
And as we have very less time for project we are looking at automated UNIT testing tools...
Thanks in adv.
Keshav
 
Simon Brown
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that you can get tools that can generate JUnit tests for you, but these will only provide you with the basics. Just because a method returns void doesn't mean that it can't be tested with JUnit. For example, what does that method do? If it modifies internal state, then you can run assertions upon that. If it inserts data into a database, then you can write a test to check that it is there.
Simon
 
Patricia Fulk
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess it would of helped to explain more. We have a web application in WebSphere that is using JSP, Servlets, and EJB's. We are looking for software that will do unit testing that is automated. So that each time we deploy a script can be run to test the site. We are currently looking at Segue's silktest, but we are wanting some other software to compare it to. Can anyone help?
Thanks,
Trish
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If u want to do Java API level testing then
there are tools like Cactus
Cactus can be used to test all server side Java components
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Patricia Fulk:
I guess it would of helped to explain more. We have a web application in WebSphere that is using JSP, Servlets, and EJB's. We are looking for software that will do unit testing that is automated. So that each time we deploy a script can be run to test the site. We are currently looking at Segue's silktest, but we are wanting some other software to compare it to. Can anyone help?
Thanks,
Trish


Actually this sounds more like functional testing to me...
Regardless, you may want to take a look at HttpUnit. It is a fairly good automated web testing tool and the price is right.
[ March 03, 2003: Message edited by: Chris Mathews ]
 
Simon Brown
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Chris - sounds like you want to test the functionality provided by your application, often called functional or acceptance testing.
This page over at the JUnit website lists some more frameworks that you can use to do this.
Hope that helps
Simon
[ March 04, 2003: Message edited by: Simon Brown ]
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So does JUNit do GUI testing just like SilkTest does other then unit testing of the code...
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Johny bravo:
So does JUNit do GUI testing just like SilkTest does other then unit testing of the code...


SilkTest is a functional testing tool while JUnit is a unit testing tool. In other words, no, JUnit doesn't do GUI testing just like SilkTest does.

However, there are a couple of JUnit "extensions" that make it possible to write JUnit tests that exercise a GUI written in Swing, for example.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you want to go with a JUnit extension, I'd advice to use either HtmlUnit or JWebUnit.

Alternatives are FitNesse (with HtmlFixture), Canoo Webtest and a myriad of other tools (sorry, can't be more specific, I haven't yet tested web applications at the functional level).

Whatever tool you choose, though, if you are really short on time, you best invest a *significant* amount of it in creating good tests - they will save you later.
 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well.. any automated testing tool for J2ME based projects ?

Regards,
Arijit
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Arijit Ghosh:
any automated testing tool for J2ME based projects ?


Google tells all. In this case, J2MEUnit.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not looking for Unit Testing.. Anything for functional testing ? Anything for verification of correctly generated JAR and JADs ?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Arijit Ghosh:
Anything for verification of correctly generated JAR and JADs ?

Would Antenna's preverification task be what you're looking for?
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic