• 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

Open source tools for automating unit testing

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am trying to find Open Source tools for automating unit testing. I would like the tool to generate test cases and execute them automatically. I was able to find tools such as JTest, Dev Test4J etc but these are not open source tools.

I would really appreciate if I can get some references to open source tools for automating testing

Thanks
Karthik
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you want to use those tests for?

Typically, unit tests are written to confirm that the code is doing what the developer wants it to do. For that to work, the developer himself has to write the tests - having them generated automatically wouldn't help you at all - it would just confirm that the code does what it does.
 
Kaarthik Vaidiswaran
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our team decided that having a tool that would generate tests for common cases (such as testIfNotNull, testForMinLength, testFormaxLength, testIfStrcontainsValidCharacters etc) would be helpful. I am looking for a tool that would generate test cases based on a source code, allow user to edit an existing test case, add a new testcase, if required, and run these tests. I was able to find commercial tools and couple of eclipse plugins with commercial license
Please let me know if there is any open source tool

Thanks
Karthik
 
reply
    Bookmark Topic Watch Topic
  • New Topic