aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Custom Eclipse Template Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Custom Eclipse Template" Watch "Custom Eclipse Template" New topic
Author

Custom Eclipse Template

kartik krishnan
Ranch Hand

Joined: Nov 19, 2006
Posts: 63
Hi,

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?
 
Don't get me started about those stupid light bulbs.
 
subject: Custom Eclipse Template
 
Similar Threads
Test Suites
Next Generation Java Testing: what's new?
How does surefire work
Looking for an Open Source Automated testing tool for web application
TestNG vs JUnit, mockito + Powermock vs jmockit