File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom Eclipse Template

kartik krishnan
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am not sure if this is the right forum for this but I hope it is. My project uses TestNG for unit testing with eclipse. JUnit is bundled with Eclipse so when I select new JUnit Test Case as the class to be created, Eclipse by default creates a class that extends JUnit's testCase and creates setUp and tearDown methods automatically.

I would like to create a similar template for TestNG and eclipse with methods annotated as @BeforeMethod and @AfterMethod. Can any one help or recommend a tutorial that can help?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic