Bug 545012 - [JUnit 5] JUnit on clicking test does not go to the test method from JUnit window while running JUnit test suite
Summary: [JUnit 5] JUnit on clicking test does not go to the test method from JUnit wi...
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.11   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2019-03-04 05:55 EST by Gurwinder Singh CLA
Modified: 2019-07-04 05:31 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gurwinder Singh CLA 2019-03-04 05:55:37 EST
On Running a JUnit Test Suite, I cannot navigate to the test function by double clicking the test.

This occurs only in case of Test Suite and when I am using JUnit 5's @DisplayName annotation.

It works fine with single test class run or if the test method is not annotated with @DisplayName.
Comment 1 Noopur Gupta CLA 2019-03-05 04:23:32 EST
Please provide sample test code to reproduce the issue. Also, check your Error Log view to see if you get any exception stack trace while trying to navigate and attach the stack trace.
Comment 2 Noopur Gupta CLA 2019-07-04 05:31:01 EDT
Please reopen with an attached project and detailed steps to reproduce the issue.