This is an umbrella issue tracking the progress of converting JUnit 3, JUnit 4, and TestNG-based test to using JUnit Jupiter API (aka JUnit 5).
The following command prints an overview of how many tests are using the "testng" runner via the jtreg syntax:
find test/* -name \*.java | xargs grep '@run' | grep testng | grep "java:" | cut -d : -f 1 | cut -d / -f 1-3 | sort | uniq -c | sort -nr
It will show something similar to
```
1299 test/jdk/java
891 test/jaxp/javax
151 test/jdk/jdk
138 test/hotspot/jtreg
101 test/langtools/jdk
65 test/langtools/tools
62 test/jdk/sun
54 test/jdk/tools
39 test/jdk/com
25 test/jdk/sanity
14 test/jdk/javax
5 test/lib-test/jdk
```
Dedicated sub-tasks will be created for components/groups.
The following command prints an overview of how many tests are using the "testng" runner via the jtreg syntax:
find test/* -name \*.java | xargs grep '@run' | grep testng | grep "java:" | cut -d : -f 1 | cut -d / -f 1-3 | sort | uniq -c | sort -nr
It will show something similar to
```
1299 test/jdk/java
891 test/jaxp/javax
151 test/jdk/jdk
138 test/hotspot/jtreg
101 test/langtools/jdk
65 test/langtools/tools
62 test/jdk/sun
54 test/jdk/tools
39 test/jdk/com
25 test/jdk/sanity
14 test/jdk/javax
5 test/lib-test/jdk
```
Dedicated sub-tasks will be created for components/groups.
1.
|
Refactor Charset tests to use JUnit | Resolved | Justin Lu | ||
2.
|
Refactor Locale tests to use JUnit | Resolved | Justin Lu | ||
3.
|
Refactor StandardCharset/standard.java to use JUnit | Resolved | Justin Lu | ||
4.
|
Refactor more Locale tests to use JUnit | Resolved | Justin Lu | ||
5.
|
Refactor Currency tests to use JUnit | Resolved | Justin Lu | ||
6.
|
Additional refactoring of Locale tests to JUnit | Resolved | Justin Lu | ||
7.
|
Use JUnit in lib-test/jdk tests | Resolved | Qing Xiao (Inactive) | ||
8.
|
Use JUnit in langtools/lib tests | Resolved | Qing Xiao (Inactive) | ||
9.
|
Refactor some util/Calendar tests to JUnit | Resolved | Justin Lu | ||
10.
|
Refactor some NumberFormat tests to use JUnit | Resolved | Justin Lu | ||
11.
|
Refactor ChoiceFormat tests to use JUnit | Resolved | Justin Lu | ||
12.
|
Refactor some jdk/java/net/httpclient/http2 tests to JUnit | In Progress | Mahendra Chhipa |