2022-01-07から1日間の記事一覧

【JUnit5】MethodSourceで空Streamをエラーにしたくない場合の対処

状況 JUnit5のParameterizedTestで、MethodSourceが空Streamを返した場合、以下のようなエラーになります。 Configuration error: You must configure at least one set of arguments for this @ParameterizedTest org.junit.platform.commons.PreconditionV…