Re: testng in eclipse -- can't debug from 'failed tests'

2010-02-24 Thread Gurkan Erdogdu
This might be an Eclipse related bug. Please try to run tests using
Run/Debug Configuration.

One thing, currently openwebbeans-tck/jsr299...xml does not include
interceptors test. To include them please add
 to packages
section.

Thanks;

--Gurkan

2010/2/25 Eric Covener 

> Hoping someone can get me on the right track. I'm using eclipse 3.5.1
> and latest testng. I can right-click the openwebbeans-tck/jsr299...xml
> and run with 33/549 failures.
>
> When i look in the testNG results tab, neither run or debug of
> individual failers responds at all in the GUI. I get a very
> un-googleable error on $workspace/.metadata/.log:
>
> !ENTRY org.eclipse.ui 4 0 2010-02-24 20:47:29.914
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
>at org.testng.eclipse.util.JDTUtil.parse(JDTUtil.java:470)
>at
> org.testng.eclipse.util.JDTUtil.solveDependencies(JDTUtil.java:439)
>at
> org.testng.eclipse.util.JDTUtil.solveDependencies(JDTUtil.java:428)
>at
> org.testng.eclipse.util.LaunchUtil.solveDependsOn(LaunchUtil.java:479)
>at
> org.testng.eclipse.util.LaunchUtil.launchMethodConfiguration(LaunchUtil.java:238)
>at org.testng.eclipse.ui.QuickRunAction.run(QuickRunAction.java:76)
>at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>at
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>
>
> I'm on Ubuntu Karmic with an otherwise healthy workspace.
>
> --
> Eric Covener
> cove...@gmail.com
>



-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com


Re: testng in eclipse -- can't debug from 'failed tests'

2010-02-24 Thread Joseph Bergmark
I've been running individual classes by going to either Debug or Run and
then the "Run Configurations" (or equivalent debug configurations) and then
typing in the class name beside the class radio button for a TestNG type.  I
haven't tried running a single class or method from inside the result tab
however.

Sincerely,

Joe

On Wed, Feb 24, 2010 at 8:52 PM, Eric Covener  wrote:

> Hoping someone can get me on the right track. I'm using eclipse 3.5.1
> and latest testng. I can right-click the openwebbeans-tck/jsr299...xml
> and run with 33/549 failures.
>
> When i look in the testNG results tab, neither run or debug of
> individual failers responds at all in the GUI. I get a very
> un-googleable error on $workspace/.metadata/.log:
>
> !ENTRY org.eclipse.ui 4 0 2010-02-24 20:47:29.914
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
>at org.testng.eclipse.util.JDTUtil.parse(JDTUtil.java:470)
>at
> org.testng.eclipse.util.JDTUtil.solveDependencies(JDTUtil.java:439)
>at
> org.testng.eclipse.util.JDTUtil.solveDependencies(JDTUtil.java:428)
>at
> org.testng.eclipse.util.LaunchUtil.solveDependsOn(LaunchUtil.java:479)
>at
> org.testng.eclipse.util.LaunchUtil.launchMethodConfiguration(LaunchUtil.java:238)
>at org.testng.eclipse.ui.QuickRunAction.run(QuickRunAction.java:76)
>at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>at
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>
>
> I'm on Ubuntu Karmic with an otherwise healthy workspace.
>
> --
> Eric Covener
> cove...@gmail.com
>