TestNG plugin - plugin detailBasic support for TestNG testing framework
[ You have to be logged in to be able to comment. ] User CommentsContinued support of TestNG plugin?
Seems like development/maintenance of this plugin has stopped a long time ago.
Will there be a testng plugin for netbeans under the Apache umbrella (incubator-netbeans)? There are a few issues with testng in netbeans 8.1/8.2 which are reported in bugzilla. Is there another testng plugin under active development?
Posted by guitarboogie on Jan 10, 2018
re: Template fails to fill in and generates invalid source file
Hi,
For some reason the plugin was improperly enabled. I found that out as I was playing around in the Plugins dialog box. When I went to the Installed tab and checked the Show Details checkbox it shows much more info and all the TestNG entries were unchecked. They don't even show without that checkbox being selected. Enabling them made everything work. I ended up doing a reinstall just to be certain there weren't other issues and found that it now had a newer version of the TestNG framework (6.0.1 versus 5.11), and that also worked fine. I am not sure why my earlier install was in such a strange state, but it is working now. I still need to grok how to configure it to run tests both within and outside of the IDE, as this is all new to me, but thanks for providing this support in Netbeans.
Posted by lvskiprof on Jun 30, 2011
re: Template fails to fill in and generates invalid source file
Hi,
can you provide some more info, please? ie project type for which this happens, os, jdk, nb version... I'm asking because it works fine for me. thx
Posted by jungi on Jun 17, 2011
Template fails to fill in and generates invalid source file
When I do a "New File..." and select TestNG as the type I get this for a source file (obviously this is supposed to get filled in during creation, but it is not):
<#assign licenseFirst = "/*"> <#assign licensePrefix = " * "> <#assign licenseLast = " */"> <#include "../Licenses/license-${project.license}.txt"> <#if packagecurrent?? && package != ""> package $ {package}; #if> import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; /** * * @author ${user} */ public class ${ name } { @BeforeClass public void setUp() { // code that will be invoked before this test starts } @Test public void aTest() { System.out.println("Test"); } @AfterClass public void cleanUp() { // code that will be invoked after this test ends } }
Posted by lvskiprof on Jun 16, 2011
|