Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack trace truncated #450

Open
krmahadevan opened this issue Sep 2, 2019 · 1 comment
Open

Stack trace truncated #450

krmahadevan opened this issue Sep 2, 2019 · 1 comment

Comments

@krmahadevan
Copy link
Member

When viewing the stack trace of a test failure in the TestNG eclipse plugin the stack trace is truncated and I can't see the line of my test that failed. This is a particular problem when using AbstractTransactionalTestNGSpringContextTests - all I see is the outer spring exception.

See screenshot: http://i.imgur.com/SLmuw.png

In the stacktrace in the screenshot I can see the transaction died and rolled back, but I have no idea why.

JUnit (using the spring junit runner) will show me the nested exceptions and the line in my test that failed in the stack trace.

Migrated from testng-team/testng#239

@twhitmorenz
Copy link

Agree - we find this also. Interestingly if you right-click copy the stacktrace, TestNG seems to give you the more complete stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants