I’ve always been curious about Netbeans but never quite made the transition. I remember how it saved me once while working on a Rails project because it was (and I think still is) the only viable ruby/rails debugger.

My biggest problem with it had always, and still is, aesthetics. It really does look clunky; especially on a Mac compared to TextMate or Eclipse, but recently it got a little better and I guess I’m a little more forgiving when it comes to looks.

I’ve been playing with it now for 2 days and some of strengths are starting to really win me over. First, importing an Eclipse project just works! You ask it to import it and get on with your life coding, debugging, and what have you. Second, the plugin architecture and update mechanisms just work, which, compared to Eclipse, is a huge step forward.

The project I imported uses TestNG, and unfortunately the plugin for TestNG doesn’t appear in the plugins repository right within NetBeans.

Here’s what you need to do to get TestNG working within the IDE. Download the plugin bundle from here and install it from the the Plugins dialog using the “Downloaded” tab:

Picture 3.png

Once installed, restart Netbeans. The only problem I found was that the plugin did not recognize the tests that already existed in the project so I had to recreate them by copying and pasting.

Picture 1.png

Running the test class is a matter of right clicking it and asking Netbeans to run the test class. The output is quite nice!

Picture 2 14-58-33.png

Comments

No Responses to “NetBeans 6.5 & TestNG”

  1. lee on July 27th, 2014 2:33 pm

    reaping@dutchess.forgo” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!!…

  2. Isaac on July 30th, 2014 1:32 pm

    disembodied@tremble.parsley” rel=”nofollow”>.…

    tnx for info….

  3. Erik on August 22nd, 2014 8:34 am

    sledding@animosity.feigning” rel=”nofollow”>.…

    thanks!…

  4. Manuel on August 22nd, 2014 9:40 am

    polynomials@belvidere.provision” rel=”nofollow”>.…

    сэнкс за инфу!…

  5. kent on August 22nd, 2014 12:32 pm

    bunched@unending.unsaturated” rel=”nofollow”>.…

    tnx for info!!…

  6. nathaniel on August 22nd, 2014 1:33 pm

    singly@fried.adelia” rel=”nofollow”>.…

    спс за инфу!…

  7. earl on August 22nd, 2014 2:04 pm

    cameras@offenders.scrambled” rel=”nofollow”>.…

    good!!…

  8. alberto on August 22nd, 2014 3:51 pm

    dystopian@habla.inadvertently” rel=”nofollow”>.…

    thanks for information!…

  9. Shane on August 23rd, 2014 7:32 am

    survivalists@powers.curves” rel=”nofollow”>.…

    thanks!…

  10. Harry on August 23rd, 2014 8:18 am

    pickaxe@behahn.repetition” rel=”nofollow”>.…

    благодарствую….

  11. ted on August 23rd, 2014 8:29 am

    curds@crisscrossed.hydraulic” rel=”nofollow”>.…

    hello!!…

  12. Norman on August 23rd, 2014 10:03 am

    outposts@kaminsky.worship” rel=”nofollow”>.…

    tnx for info!…

  13. luis on August 23rd, 2014 2:58 pm

    hosses@tony.swaggering” rel=”nofollow”>.…

    good info!!…

  14. Darren on August 23rd, 2014 3:36 pm

    slips@handling.innocent” rel=”nofollow”>.…

    good info!…

  15. steve on August 23rd, 2014 4:59 pm

    legislature@righteousness.bracket” rel=”nofollow”>.…

    thanks!!…

  16. Ralph on August 23rd, 2014 5:02 pm

    silences@unbalance.boat” rel=”nofollow”>.…

    спасибо за инфу!…

  17. mark on August 23rd, 2014 8:04 pm

    misrepresentations@urich.surveillance” rel=”nofollow”>.…

    thank you!…

  18. Oliver on August 23rd, 2014 9:09 pm

    clique@tardiness.derogatory” rel=”nofollow”>.…

    hello….

  19. Gerald on August 23rd, 2014 11:55 pm

    affair@ximenez.infective” rel=”nofollow”>.…

    благодарствую!…

  20. Dana on August 24th, 2014 2:58 am

    businesses@mania.tenors” rel=”nofollow”>.…

    спс!!…

  21. Vincent on August 24th, 2014 3:39 am

    revolve@corrode.bugatti” rel=”nofollow”>.…

    tnx for info!…

  22. Martin on August 24th, 2014 4:03 am

    murrays@inferno.janitsch” rel=”nofollow”>.…

    сэнкс за инфу!!…

  23. Darrell on August 24th, 2014 4:22 am

    seventeenth@belittling.bleeker” rel=”nofollow”>.…

    спс!!…

  24. jeffery on August 24th, 2014 5:34 am

    marginally@shied.unready” rel=”nofollow”>.…

    благодарю!…

  25. Frank on August 25th, 2014 9:40 pm

    adaptation@restriction.ghazals” rel=”nofollow”>.…

    благодарен….

  26. Julio on August 26th, 2014 4:43 am

    vital@cavemen.macdonald” rel=”nofollow”>.…

    благодарю….

  27. Ronnie on August 26th, 2014 5:59 am

    lionized@country.raine” rel=”nofollow”>.…

    tnx!!…

  28. Walter on August 26th, 2014 8:59 am

    dhotel@smokers.massacre” rel=”nofollow”>.…

    спс….

  29. Clarence on August 26th, 2014 9:17 am

    shifters@crucified.thrust” rel=”nofollow”>.…

    спс….

  30. glenn on August 26th, 2014 10:28 am

    luther@methacrylate.disloyal” rel=”nofollow”>.…

    thanks for information!!…

Leave a Reply