Thanks! I will try the thing with the listener. That sounds reasonable.

On Mon, Feb 10, 2014 at 4:37 PM, Nalin <nul...@nullin.com> wrote:
> TestNG plugin doesn’t capture output like the inbuilt junit plugin. But you
> should be able to look at the class level results in TestNG plugin report
> where the test failed to see if the failed configuration is mentioned there.
>
> Also, it’s best to implement a listener which runs on test/config failures
> and prints out the exception stack traces. Otherwise, TestNG usually doesn’t
> print out stack traces for failed methods.
>
> -nalin
>
> On Monday, February 10, 2014 at 7:33, Robert Krüger wrote:
>
> On Mon, Feb 10, 2014 at 4:28 PM, Nalin <nul...@nullin.com> wrote:
>
> Tests skip for two reasons when using TestNG.
>
> 1. The test explicitly throws SkipException because it isn’t implemented
> 2. Another test or configuration method (@BeforeMethod etc) that the test
> depends on failed.
>
> You should look for failures in other tests and configuration methods that
> the test depends on to figure out the root cause.
>
>
> I know. In this case it is likely the setup method. My question was
> rather "where can I find the respective exception in Jenkins
> UI/output". I don't see it anywhere. I can only see exceptions in test
> methods but nothing else.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to