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

Show fully qualified name of the test instead of just the function name for better readability of test output. #2741

Closed
1 of 7 tasks
nickolay-kondratyev opened this issue Mar 16, 2022 · 1 comment · Fixed by #2758
Milestone

Comments

@nickolay-kondratyev
Copy link

TestNG Version

Note: only the latest version is supported

Expected behavior

Show fully qualified name of the test in the test output instead of just function name. This will increase the readability of test output by including the class name of the test (especially when nested classes are used).

Actual behavior

Only the function of the test name is displayed (class name especially nested class names are not displayed).

Eg.

PASSED: test_customerImageStatus

Is the issue reproducible on runner?

  • Shell
  • Maven
  • Gradle
  • Ant
  • Eclipse
  • IntelliJ
  • NetBeans

Test case sample

Any test case should show this.

Contribution guidelines

Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.

@Janos893
Copy link

It is a good idea!

@krmahadevan krmahadevan added this to the 7.6.0 milestone May 10, 2022
krmahadevan added a commit to krmahadevan/testng that referenced this issue May 10, 2022
krmahadevan added a commit that referenced this issue May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants