Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any tool to generate Junit class from a java class

 
Ram Korutla
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

My question looks weird and no-sense to myself already , but here I go..I would like to know if there is any tool that does the creation of Junit class for the methods in a java class. A method might have different processing steps. So is there a tool that creates the JUnit test case for a method.

Thanks
Ram
 
kri shan
Ranch Hand
Posts: 1460
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try commercial IDE's like MyEclipse (not sure)
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ram,
Some tools like Parasoft JTest do. However, I don't find the tests they generate to be useful. A human is needed to make the tests good.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic