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

2 Responses to “NetBeans 6.5 & TestNG”

  1. NICHOLAS on June 27th, 2010 9:45 pm

    Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Pillspot.org. Vitamins@buy.online” rel=”nofollow”>.…

    Categories: Skin Care.Pain Relief.Mens Health.Anxiety/Sleep Aid.Weight Loss.Blood Pressure/Heart.Anti-allergic/Asthma.Antiviral.Stop SmokingWomens Health.Antidepressants.Stomach.Mental HealthVitamins/Herbal Supplements.Antidiabetic.Antibiotics.Eye…

  2. JARED on July 15th, 2010 2:52 pm


    Pillspot.org. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. Low price drugs. Order drugs online

    Buy:Advair.Aricept.Amoxicillin.Ventolin.Lipitor.Female Pink Viagra.Wellbutrin SR.Lasix.Buspar.SleepWell.Zetia.Prozac.Benicar.Nymphomax.Lipothin.Acomplia.Seroquel.Cozaar.Zocor.Female Cialis….

Leave a Reply