TestNG-J - Featured on the IntelliJ IDEA Blog
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.
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.
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).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?
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)).
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 :)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?
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.