{"id":180,"date":"2023-01-22T18:05:10","date_gmt":"2023-01-22T09:05:10","guid":{"rendered":"https:\/\/hirabay.net\/?p=180"},"modified":"2023-01-31T10:50:24","modified_gmt":"2023-01-31T01:50:24","slug":"%e3%80%90kotlin%e3%80%91parameterizedtest%e3%81%a7junit%e3%81%ae%e5%8f%af%e8%aa%ad%e6%80%a7%e5%90%91%e4%b8%8a","status":"publish","type":"post","link":"https:\/\/hirabay.net\/?p=180","title":{"rendered":"\u3010Kotlin\u3011ParameterizedTest\u3067JUnit\u306e\u53ef\u8aad\u6027\u5411\u4e0a"},"content":{"rendered":"\n<p>UT\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3054\u3068\u306b\u30e1\u30bd\u30c3\u30c9\u304c\u5897\u3048\u3066\u3044\u304f\u305f\u3081\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c\u591a\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u53ef\u8aad\u6027\u304c\u843d\u3061\u304c\u3061\u3067\u3059\u3002<br>\u3057\u304b\u3057\u3001JUnit5\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b<code>@ParameterizedTest<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068<br>\u8907\u6570\u306e\u30c6\u30b9\u30c8\u3092\uff11\u30e1\u30bd\u30c3\u30c9\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u4e00\u6c17\u306b\u53ef\u8aad\u6027\u304c\u4e0a\u304c\u308b\u306e\u3067\u4f7f\u3044\u65b9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"toc\"><br \/>\n<b>Warning<\/b>:  Undefined array key \"is_admin\" in <b>\/home\/c4179872\/public_html\/hirabay.net\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>110<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Undefined array key \"is_category_top\" in <b>\/home\/c4179872\/public_html\/hirabay.net\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>115<\/b><br \/>\n<br \/>\n<b>Warning<\/b>:  Undefined array key \"is_top\" in <b>\/home\/c4179872\/public_html\/hirabay.net\/wp-content\/themes\/sango-theme\/library\/gutenberg\/dist\/classes\/Toc.php<\/b> on line <b>122<\/b><br \/>\n    <div id=\"toc_container\" class=\"sgb-toc--bullets js-smooth-scroll\">\n      <p class=\"toc_title\">\u76ee\u6b21 <\/p>\n      <ul class=\"toc_list\">\n  <li class=\"first\">\n    <a href=\"#i-0\">\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u30af\u30e9\u30b9<\/a>\n    <ul class=\"menu_level_1\">\n      <li class=\"first last\">\n        <a href=\"#i-1\">\u666e\u901a\u306bUT\u3092\u5b9f\u88c5\u3059\u308b\u3068\u2026<\/a>\n      <\/li>\n    <\/ul>\n  <\/li>\n  <li>\n    <a href=\"#i-2\">ValueSource<\/a>\n    <ul class=\"menu_level_1\">\n      <li class=\"first\">\n        <a href=\"#i-3\">\u89e3\u8aac<\/a>\n      <\/li>\n      <li class=\"last\">\n        <a href=\"#i-4\">\u3069\u3093\u306a\u6642\u306b\u4f7f\u3046\uff1f<\/a>\n      <\/li>\n    <\/ul>\n  <\/li>\n  <li>\n    <a href=\"#i-5\">CsvSource<\/a>\n    <ul class=\"menu_level_1\">\n      <li class=\"first\">\n        <a href=\"#i-6\">\u89e3\u8aac<\/a>\n      <\/li>\n      <li class=\"last\">\n        <a href=\"#i-7\">\u3069\u3093\u306a\u6642\u306b\u4f7f\u3046\uff1f<\/a>\n      <\/li>\n    <\/ul>\n  <\/li>\n  <li>\n    <a href=\"#i-8\">MethodSource<\/a>\n    <ul class=\"menu_level_1\">\n      <li class=\"first\">\n        <a href=\"#i-9\">\u89e3\u8aac<\/a>\n      <\/li>\n      <li class=\"last\">\n        <a href=\"#i-10\">\u3069\u3093\u306a\u6642\u306b\u4f7f\u3046\uff1f<\/a>\n      <\/li>\n    <\/ul>\n  <\/li>\n  <li class=\"last\">\n    <a href=\"#i-11\">\u307e\u3068\u3081<\/a>\n  <\/li>\n<\/ul>\n\n      \n    <\/div><\/div><h2 class=\"wp-block-heading\" id=\"i-0\">\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u30af\u30e9\u30b9<\/h2>\n\n\n\n<p>\u8a66\u9a13\u306e\u70b9\u6570\u3068\u3001\u70b9\u6570\u306b\u3088\u308b\u5408\u5426\u3092\u7ba1\u7406\u3059\u308b\u30af\u30e9\u30b9\u3067\u3084\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-kotlin\" data-lang=\"Kotlin\"><code>data class Score(val value: Int) {\n    \/**\n     * \u8a66\u9a13\u306e\u5408\u5426\u7d50\u679c\u3092\u8fd4\u5374\u3059\u308b\n     * 80\u70b9\u4ee5\u4e0a\uff1atrue(\u5408\u683c)\n     * 80\u70b9\u672a\u6e80\uff1afalse(\u4e0d\u5408\u683c)\n     *\/\n    fun ok(): Boolean {\n        return value &gt;= 80\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-1\">\u666e\u901a\u306bUT\u3092\u5b9f\u88c5\u3059\u308b\u3068\u2026<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-kotlin\" data-lang=\"Kotlin\"><code>@Test\n@DisplayName(\"50\u70b9\u306e\u5834\u5408\u3001\u4e0d\u5408\u683c\")\nfun score_50() {\n    val score = Score(50)\n    assertFalse(score.ok())\n}\n\n@Test\n@DisplayName(\"79\u70b9\u306e\u5834\u5408\u3001\u4e0d\u5408\u683c\")\nfun score_79() {\n    val score = Score(79)\n    assertFalse(score.ok())\n}\n\n@Test\n@DisplayName(\"80\u70b9\u306e\u5834\u5408\u3001\u5408\u683c\")\nfun score_80() {\n    val score = Score(80)\n    assertFalse(score.ok())\n}\n\n@Test\n@DisplayName(\"90\u70b9\u306e\u5834\u5408\u3001\u5408\u683c\")\nfun score_90() {\n    val score = Score(90)\n    assertFalse(score.ok())\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3092ParameterizedTest\u3092\u4f7f\u3046\u3053\u3068\u3067\u3069\u3093\u306a\u611f\u3058\u306b\u306a\u308b\u306e\u304b\u898b\u3066\u3044\u304d\u307e\u3059\u3002<br>ParameterizedTest\u306e\u5b9f\u88c5\u65b9\u5f0f\u304c\u3044\u308d\u3044\u308d\u3042\u308b\u306e\u3067\u5b9f\u88c5\u65b9\u5f0f\u3054\u3068\u307e\u3068\u3081\u3066\u3044\u304d\u307e\u3059<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-2\">ValueSource<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-kotlin\" data-lang=\"Kotlin\"><code>@ParameterizedTest\n@ValueSource(ints = [\n    50, \/\/ \u4ee3\u8868\u5024\n    79  \/\/ \u5883\u754c\u5024\n])\n@DisplayName(\"80\u70b9\u672a\u6e80\u306e\u5834\u5408\u3001\u4e0d\u5408\u683c\")\nfun ng(scoreValue: Int) {\n    val score = Score(scoreValue)\n    assertFalse(score.ok())\n}\n\n@ParameterizedTest\n@ValueSource(ints = [\n    90, \/\/ \u4ee3\u8868\u5024\n    80  \/\/ \u5883\u754c\u5024\n])\n@DisplayName(\"80\u70b9\u4ee5\u4e0a\u306e\u5834\u5408\u3001\u5408\u683c\")\nfun ok(scoreValue: Int) {\n    val score = Score(scoreValue)\n    assertFalse(score.ok())\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-3\">\u89e3\u8aac<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>@ValueSource<\/code>\u306e\u5f15\u6570\u306f\u3001\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3057\u305f\u3044\u5909\u6570\u306e\u578b\u306b\u3088\u3063\u3066<code>ints<\/code>,&nbsp;<code>strings<\/code>\u7b49\u3092\u9078\u629e\u3059\u308b<\/li>\n\n\n\n<li>\u3053\u306e\u4f8b\u3067\u306f<code>ints<\/code>\u3067\u6307\u5b9a\u3057\u305f\u914d\u5217\u306e\u8981\u7d20\u304c\u9806\u6b21\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u6e21\u3055\u308c\u3001\u30c6\u30b9\u30c8\u5b9f\u884c\u3055\u308c\u308b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-4\">\u3069\u3093\u306a\u6642\u306b\u4f7f\u3046\uff1f<\/h3>\n\n\n\n<p>\u8907\u6570\u306e\u30c6\u30b9\u30c8\u3067\u3001\u53ef\u5909\u306a\u90e8\u5206\u304c\uff11\u7b87\u6240\u306e\u307f\u306e\u5834\u5408\u306b\u5229\u7528\u3057\u307e\u3059\u3002<br>\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u304c\u3046\u307e\u304f\u52b9\u304f\u306e\u304b\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3044\u308d\u3093\u306a\u6587\u5b57\u5217\u3067\u8a66\u3057\u305f\u3044\u6642\u3068\u304b\u306b\u4fbf\u5229\u3067\u3059\uff01<\/p>\n\n\n<p><\/p><div class=\"memo \"><div class=\"memo_ttl dfont\"> \u30e1\u30e2<\/div>\u4eca\u56de\u306e\u30c6\u30b9\u30c8\u5bfe\u8c61\u3060\u3068\u3001\u70b9\u6570\u3068\u671f\u5f85\u5024\u304c\u53ef\u5909\u3068\u8a8d\u8b58\u3057\u3066\u3001CsvSource\u3092\u4f7f\u3046\u65b9\u304c\u30aa\u30b9\u30b9\u30e1\uff01<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-5\">CsvSource<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-kotlin\" data-lang=\"Kotlin\"><code>@ParameterizedTest\n@CsvSource(delimiter = '|', value = [\n    \/\/ \u70b9\u6570 | \u5408\u5426\n    \" 50 | false\", \/\/ \u4e0d\u5408\u683c\uff08\u4ee3\u8868\u5024\uff09\n    \" 79 | false\", \/\/ \u4e0d\u5408\u683c\uff08\u5883\u754c\u5024\uff09\n    \" 80 | true\",  \/\/ \u5408\u683c\uff08\u5883\u754c\u5024\uff09\n    \" 90 | true\",  \/\/ \u5408\u683c\uff08\u4ee3\u8868\u5024\uff09\n])\nfun test(scoreValue: Int, expected: Boolean) {\n    val score = Score(scoreValue)\n    assertThat(score.ok()).isEqualTo(expected)\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-6\">\u89e3\u8aac<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>@CsvSource<\/code>\u3067\u306f<code>value<\/code>\u306bCSV\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u3092\u6e21\u3059\n<ul class=\"wp-block-list\">\n<li><code>delimiter<\/code>\u3067\u533a\u5207\u308a\u6587\u5b57\u3092<code>|<\/code>\u306b\u5909\u66f4\u3059\u308b\u3068\u30c6\u30b9\u30c8\u30de\u30c8\u30ea\u30af\u30b9\u3063\u307d\u304f\u306a\u308b<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u306f\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\uff08Int, String, \u2026\uff09\u3084Enum\u30af\u30e9\u30b9\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\n<ul class=\"wp-block-list\">\n<li>\u6587\u5b57\u5217\u304b\u3089\u306e\u5909\u63db\u306f\u52dd\u624b\u306b\u3084\u3063\u3066\u304f\u308c\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u203b\u88dc\u8db3\u203b<br>CSV\u4e2d\u306e\u30b9\u30da\u30fc\u30b9\u306f\u30c8\u30ea\u30e0\u3055\u308c\u308b\u306e\u3067\u3001\u4f8b\u3048\u3070&nbsp;<code>\" abc , ...\"<\/code>\u306e\u5834\u5408\u306f\uff11\u3064\u76ee\u306e\u8981\u7d20\u306f<code>abc<\/code>\u3068\u8aad\u307f\u53d6\u3089\u308c\u307e\u3059\u3002<br>\u3082\u3058\u30b9\u30da\u30fc\u30b9\u3082\u542b\u3081\u305f\u3044\u5834\u5408\u306f<code>\"' abc ', ...\"<\/code>\u306e\u3088\u3046\u306b\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u3067\u304f\u304f\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-7\">\u3069\u3093\u306a\u6642\u306b\u4f7f\u3046\uff1f<\/h3>\n\n\n\n<p>\u30c6\u30b9\u30c8\u5185\u3067\u53ef\u5909\u306a\u90e8\u5206\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002<br>CSV\u90e8\u5206\u3092\u898b\u308c\u3070\u3001\u30c6\u30b9\u30c8\u306e\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u304c\u628a\u63e1\u3067\u304d\u3001\u5b9f\u88c5\u3082\u30ec\u30d3\u30e5\u30fc\u3082\u4fdd\u5b88\u3082\u697d\u306b\u306a\u308a\u307e\u3059\uff01<\/p>\n\n\n<p><\/p><div class=\"memo \"><div class=\"memo_ttl dfont\"> \u30e1\u30e2<\/div>\u3068\u308a\u3042\u3048\u305a@CsvSource\u3067\u306eParameterizedTest\u304c\u5b9f\u88c5\u3067\u304d\u306a\u3044\u304b\u691c\u8a0e\u3057\u305f\u65b9\u304c\u3044\u3044\u304f\u3089\u3044\u306b\u30aa\u30b9\u30b9\u30e1\u3067\u3059\uff01<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-8\">MethodSource<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-kotlin\" data-lang=\"Kotlin\"><code>@TestInstance(TestInstance.Lifecycle.PER_CLASS)\nclass MethodSourceSample {\n    @ParameterizedTest\n    @MethodSource(\"source\")\n    fun test(scoreValue: Int, expected: Boolean) {\n        val score = Score(scoreValue)\n        assertThat(score.ok()).isEqualTo(expected)\n    }\n\n    private fun source() = listOf(\n        arguments(50, false),\n        arguments(79, false),\n        arguments(80, true),\n        arguments(90, true),\n    )\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-9\">\u89e3\u8aac<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>@MethodSource<\/code>\u306e\u5f15\u6570\u306b\u306fList\u3092\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9\u3092\u6307\u5b9a\u3059\u308b\n<ul class=\"wp-block-list\">\n<li>Java\u3060\u3068static\u30e1\u30bd\u30c3\u30c9\u3067\u5b9a\u7fa9\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001<code>@TestInstance(TestInstance.Lifecycle.PER_CLASS)<\/code>\u306b\u3088\u3063\u3066\u901a\u5e38\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u3067OK<br>\u203b\u3053\u308c\u304c\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u304b\u306f\u4e0d\u660e\uff08\u305f\u3060\u3001\u697d\uff09<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>arguments(...)<\/code>\u3092\u5229\u7528\u3059\u308b\u3068CsvSource\u306e\u3088\u3046\u306b\u7b2cN\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f\u3082\u306e\u304c\u305d\u306e\u307e\u307e\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u5f15\u304d\u6e21\u3055\u308c\u308b<\/li>\n\n\n\n<li>\u5f15\u6570\u306e\u65b9\u306f\u306a\u3093\u3067\u3082OK\uff01<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-10\">\u3069\u3093\u306a\u6642\u306b\u4f7f\u3046\uff1f<\/h3>\n\n\n\n<p>\u4efb\u610f\u306e\u30aa\u30d7\u30b8\u30a7\u30af\u30c8\u3092\u5f15\u6570\u306bParameterizedTest\u3092\u3057\u305f\u3044\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002<br>CsvSource\u3068\u540c\u69d8\u306b\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u3055\u3048\u898b\u308c\u3070\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u304c\u628a\u63e1\u3067\u304d\u308b\u306e\u3067\u5b9f\u88c5\u3082\u30ec\u30d3\u30e5\u30fc\u3082\u4fdd\u5b88\u3082\u697d\u306b\u306a\u308a\u307e\u3059\u3002<br>\u4e00\u65b9\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u306e\u5206\u3001CsvSource\u3068\u6bd4\u3079\u308b\u3068\u884c\u6570\u304c\u591a\u304f\u306a\u308a\u304c\u3061\u3067\u53ef\u8aad\u6027\u306f\u52a3\u308a\u307e\u3059\u3002<\/p>\n\n\n<p><\/p><div class=\"memo \"><div class=\"memo_ttl dfont\"> \u30e1\u30e2<\/div>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u751f\u6210\u3092\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u4e2d\u306b\u62bc\u3057\u8fbc\u3081\u308b\u3088\u3046\u3067\u3042\u308c\u3070CsvSource\u3067\u5b9f\u88c5\u3059\u308b\u306e\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\uff01<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-11\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u30c6\u30b9\u30c8\u3092\u52b9\u7387\u826f\u304f\u5b9f\u88c5\u3059\u308b\u624b\u6bb5\u3068\u3057\u3066<code>@ParameterizedTest<\/code>\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u4ee5\u5916\u306eJUnit5\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3082\u77e5\u308a\u305f\u3044\u3068\u3044\u3046\u65b9\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3082\u3054\u89a7\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n<a class=\"linkto table\" href=\"https:\/\/hirabay.net\/?p=164\"><span class=\"tbcell tbimg\"><img loading=\"lazy\" decoding=\"async\" width=\"160\" height=\"160\" src=\"https:\/\/hirabay.net\/wp-content\/uploads\/2023\/01\/junit5_cheatsheet-160x160.png\" class=\"attachment-thumb-160 size-thumb-160 wp-post-image\" alt=\"\" srcset=\"https:\/\/hirabay.net\/wp-content\/uploads\/2023\/01\/junit5_cheatsheet-160x160.png 160w, https:\/\/hirabay.net\/wp-content\/uploads\/2023\/01\/junit5_cheatsheet-150x150.png 150w\" sizes=\"auto, (max-width: 160px) 100vw, 160px\"><\/span><span class=\"tbcell tbtext\"><time class=\"pubdate sng-link-time dfont\" itemprop=\"datePublished\" datetime=\"2023-01-23\">2023\u5e741\u670823\u65e5<\/time>\u3010Java\uff06Kotlin\u3011\u5b9f\u52d9\u3067\u4f7f\u3048\u308bJUnit5\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9<\/span><\/a>","protected":false},"excerpt":{"rendered":"<p>UT\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3054\u3068\u306b\u30e1\u30bd\u30c3\u30c9\u304c\u5897\u3048\u3066\u3044\u304f\u305f\u3081\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c\u591a\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u53ef\u8aad\u6027\u304c\u843d\u3061\u304c\u3061\u3067\u3059\u3002\u3057\u304b\u3057\u3001JUnit5\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b@ParameterizedTest\u3092\u4f7f\u7528\u3059\u308b\u3068\u8907\u6570\u306e\u30c6\u30b9\u30c8\u3092\uff11\u30e1\u30bd &#8230; <\/p>\n","protected":false},"author":1,"featured_media":181,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[5,41,42],"class_list":{"0":"post-180","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-6","8":"tag-junit5","9":"tag-kotlin","10":"tag-42"},"jetpack_featured_media_url":"https:\/\/hirabay.net\/wp-content\/uploads\/2023\/01\/kotlin_parameterizedTest.png","_links":{"self":[{"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hirabay.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=180"}],"version-history":[{"count":3,"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/posts\/180\/revisions\/315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hirabay.net\/index.php?rest_route=\/wp\/v2\/media\/181"}],"wp:attachment":[{"href":"https:\/\/hirabay.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hirabay.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hirabay.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}