Bug 549318 - Provide ctrl+click navigation for resources specified in JUnit 5 @CSVFileSource
Summary: Provide ctrl+click navigation for resources specified in JUnit 5 @CSVFileSource
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-16 11:50 EDT by Aurelien Pupier CLA
Modified: 2019-07-16 11:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Pupier CLA 2019-07-16 11:50:43 EDT
with JUnit 5 when using @ParameterizedTest, it is possible to define parameters through a csv file using @CsvFileSource

fo risntance, somethign like:

@ParameterizedTest
    @CsvFileSource(resources = "/book_data.csv", numLinesToSkip = 1)

it would be nice to be able to Ctrl+Click on the "/book_data.csv" to open the editor corresponding to this file

full sample available here https://github.com/kousen/junit5_workshop/blob/917b4d59b1820c474a7e1ab6e18c5ee210914a15/src/test/java/com/oreilly/ParameterizedTests.java#L129