TestNG-J - Featured on the IntelliJ IDEA Blog

Published: 11:06 PM GMT+12, Thursday, 29 June 2006 under: technology intellij-jira-plugin
java  testing  testng  idea  intellij  plugin 

w00t - just noticed the TestNG plugin mentioned on the IntelliJ IDEA Blog. Rockin'

Comments (8)

The javadocs for code coverage related classes will be available in the next build. The classes to look at are CoverageDataManager, CoverageConfigurable and CoverageEnabledConfiguration. If you need any assistance, please don't hesitate to ask in the forums.

left by Eugene Vigdorchik . Sunday, 2 July 2006 11:51 PM

The javadocs for code coverage related classes will be available in the next build. The classes to look at are CoverageDataManager, CoverageConfigurable and CoverageEnabledConfiguration. If you need any assistance, please don't hesitate to ask in the forums.

left by Eugene Vigdorchik . Sunday, 2 July 2006 11:51 PM

The javadocs for code coverage related classes will be available in the next build. The classes to look at are CoverageDataManager, CoverageConfigurable and CoverageEnabledConfiguration. If you need any assistance, please don't hesitate to ask in the forums.

left by Eugene Vigdorchik . Sunday, 2 July 2006 11:51 PM

Dave - I don't currently have any of those intentions, but I'll definitely look into them (unless you want to donate some modified intentions :) ).

Eugene - I'd love to - is there any docs on how to integrate with the code coverage anyway? (I've not yet checked the latest javadocs so there maybe stuff in there to check out).

left by Mark Derricutt . Sunday, 2 July 2006 8:36 AM

Mark, I've opened the API for integrating run configurations with code coverage in IDEA. Any plans to provide code coverage facility for TestNG plugin?

left by Eugene Vigdorchik . Saturday, 1 July 2006 7:21 AM

The handiest one is an intention to wrap any boolean expression in a test case as an assertion. So if you type "x == 2" in a JUnit test method, you get an intention to convert it to "assertEquals(2, x)". There are also inspections for test cases with no methods, test methods with no assertions, and assertions which can be simplified (assertTrue(x == null) -> assertNull(x)).

left by Dave Griffith . Saturday, 1 July 2006 3:05 AM

Hi Dave, the only intentions/inspections we currently have are for converting JUnit tests to TestNG (javadoc annotions and/or JDK5 annotations) and for switching between javadoc/JDK5 annotations.

What inspections/intentions does IG/IPP give for JUnit? I guess I'll have to go check them out :)

left by Mark Derricutt . Friday, 30 June 2006 8:52 AM

I'm just looking into using TestNG on a project, but haven't done so yet. Does your plugin provide the sorts of inspections/intentions that are provided for JUnit in InspectionGadgets/IntentionPowerPack?

left by Dave Griffith . Friday, 30 June 2006 2:55 AM
Add Comment