junit-team / junit5

✅ The 5th major version of the programmer-friendly testing framework for Java and the JVM

Home Page:https://junit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix links to `@ParameterizedTest` support classes in the user guide

eliasnogueira opened this issue · comments

The issue

There are three broken links in the user guides.

Section Item Cause
2.16.3. Sources of Arguments ValueArgumentsProvider link It is referring to its Javadoc, but the class is private-package
2.16.3. Sources of Arguments CsvArgumentsProvider link It is referring to its Javadoc, but the class is private-package
2.16.4. Argument Conversion AnnotationBasedArgumentConverter link It is referring to the provider package, but the correct is the converter one

Steps to reproduce

  1. Click on the "section" link from the table above
  2. Find the mentioned Item link
  3. Click on it

Proposed solution

As the ValueArgumentsProvider and the CsvArgumentsProvider classes are package-private, not being generated by the JavaDoc the solution is to redirect the reader to its source code.

For the AnnotationBasedArgumentConverter link, only the package change is sufficient.