質問編集履歴

1

タイトル、コード内容を追記

2018/06/20 14:29

投稿

tenpu
tenpu

スコア40

test CHANGED
@@ -1 +1 @@
1
- junitの読み込みファイル名に全角
1
+ junitで全角テストファイル名を表示する
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ```
22
22
 
23
- @ParameterizedTest(name = "テストパターン:{0}")
23
+ @ParameterizedTest(name = "パターン:{0}")
24
24
 
25
25
  @MethodSource("hogeMethodテスト")
26
26
 
@@ -28,7 +28,15 @@
28
28
 
29
29
 
30
30
 
31
+ File file = new File(this.getClass().getResource(testFileName).getFile());
32
+
33
+ BufferedReader bufferedReader = new BufferedReader(new FileReader(file));
34
+
35
+
36
+
31
37
  ...
38
+
39
+
32
40
 
33
41
  hogeMethod();
34
42