{"id":24680,"date":"2023-09-15T10:53:04","date_gmt":"2023-09-15T01:53:04","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=24680"},"modified":"2025-10-27T19:44:00","modified_gmt":"2025-10-27T10:44:00","slug":"usage-examples","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/test-automation\/testrail-cli\/usage-examples\/","title":{"rendered":"\u4f7f\u7528\u4f8b"},"content":{"rendered":"<p>\u81ea\u52d5\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u3084\u3001\u3088\u308a\u591a\u304f\u306e\u30c7\u30fc\u30bf\u3067\u7d50\u679c\u3092\u88dc\u5f37\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u3001TestRail CLI \u306f\u5e45\u5e83\u3044\u30cb\u30fc\u30ba\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"h_01H9QPFVFRWE8NWSN77NX5FPW4\">CLI \u3092\u4f7f\u7528\u3057\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u88dc\u5f37<\/h2>\n<p>\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3059\u308b\u969b\u3001TestRail \u306f\u3055\u307e\u3056\u307e\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u3055\u307e\u3056\u307e\u306a\u30bf\u30a4\u30d7\u306e\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u753b\u9762\u30b7\u30e7\u30c3\u30c8\u3092\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u308a\u3001\u7d50\u679c\u306b\u30c6\u30ad\u30b9\u30c8 \u30b3\u30e1\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u7d50\u679c\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3088\u308a\u69cb\u9020\u7684\u306b\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002TestRail CLI \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u308c\u3092\u3059\u3079\u3066\u3001\u8907\u6570\u306e\u65b9\u6cd5\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002CLI \u3092\u4f7f\u3063\u3066\u547c\u3073\u51fa\u305b\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<code class=\"inline-code\"><\/code><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>\u7d50\u679c\u30d5\u30a3\u30fc\u30eb\u30c9<\/strong>\n<ul>\n<li>\u540d\u524d:<span>\u00a0<\/span><code class=\"inline-code\">--result-fields<\/code><span>\u00a0<\/span>\u307e\u305f\u306f\u3053\u308c\u3092\u63a5\u982d\u8f9e\u3068\u3057\u307e\u3059\u3002<\/li>\n<li>\u5024:<span>\u00a0<\/span><code class=\"inline-code\">field_name:field_value<\/code><span>\u00a0<\/span>\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u00a0<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span>\u6b21\u306e\u4f8b\u306e\u3088\u3046\u306b\u3001\u3059\u3079\u3066\u306e\u7d50\u679c\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u540c\u3058\u5024\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001<\/span><code class=\"inline-code\">--result-fields<\/code><span>\u00a0\u3092 1 \u56de\u307e\u305f\u306f\u8907\u6570\u56de\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u3067\u76f4\u63a5\u5024\u3092\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --result-fields \"version:1.2\" \\\n&gt;    --result-fields \"custom_environment:qa02\" \\\n&gt;    -f \"results.xml\"<\/pre>\n<h2 id=\"01HYGRDKE2A64KK7213NK79ENQ\">\u81ea\u52d5\u5316\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3051\u308b\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u88dc\u5f37<\/h2>\n<p>\u7d50\u679c\u3054\u3068\u306b\u7570\u306a\u308b\u5024\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3082\u3001JUnit \u30ec\u30dd\u30fc\u30c8\u306e\u5404\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30d5\u30a3\u30fc\u30eb\u30c9 \u30c7\u30fc\u30bf\u3067\u7d50\u679c\u3092\u88dc\u5f37\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30b3\u30e1\u30f3\u30c8\u3084\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"\/automation-frameworks\/junit5#01G74W5ZPF1Q88BNFA6Y9ME4BA\" target=\"_blank\" rel=\"noopener\">Java\u304a\u3088\u3073JUnit 5<\/a><span>\u00a0\u3092\u4f7f\u7528\u3057\u3066\u00a0<\/span><a href=\"https:\/\/github.com\/gurock\/testrail-junit-extensions?tab=readme-ov-file#testrail-junit-extensions\" target=\"_blank\" rel=\"noopener noreferrer\">TestRail JUnit Extensions Project<\/a><span>\u00a0\u3092\u5b9f\u88c5\u3057\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u3092 TestRail \u306b\u7d71\u5408\u3059\u308b\u3068\u304d\u306b\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u30b3\u30e1\u30f3\u30c8\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u5c5e\u6027\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u8ffd\u52a0\u3059\u308b\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u00a0<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb<\/strong>\n<ul>\n<li>\u540d\u524d: <code class=\"inline-code\">testrail_attachment<\/code> \u307e\u305f\u306f\u3053\u308c\u3092\u63a5\u982d\u8f9e\u3068\u3057\u307e\u3059\u3002<\/li>\n<li>\u5024: \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">@ExtendWith(TestRailTestReporterParameterResolver.class)\nclass SumTests {\n    @Test\n    @DisplayName(\"Add Two Numbers With Decimals\")\n    void AddTwoNumbersWithIntegers(TestRailTestReporter customReporter) {\n        \/\/ Sets the \"testrail_attachment\" property on the report with a path to a file to be uploaded with the test result\n        customReporter.setProperty(\"test\", \"sample_reports\/testrail.jpg\");\n        assertEquals(3, 2+1, \"2+1 should equal 3\");\n    }\n}<\/pre>\n<p><iframe loading=\"lazy\" width=\"650\" height=\"380\" src=\"https:\/\/www.youtube.com\/embed\/7jKa818WruQ?si=9wHAWKbxak5LVd-D\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>\u30b3\u30e1\u30f3\u30c8<\/strong>\n<ul>\n<li>\u540d\u524d: <code class=\"inline-code\">testrail_result_comment<\/code> \u307e\u305f\u306f\u3053\u308c\u3092\u63a5\u982d\u8f9e\u3068\u3057\u307e\u3059\u3002<\/li>\n<li>\u5024: \u30b3\u30e1\u30f3\u30c8 \u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u8ffd\u52a0\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">@ExtendWith(TestRailTestReporterParameterResolver.class)\nclass SumTests {\n    @Test\n    @DisplayName(\"Add Two Integers\")\n    void AddTwoNumbersWithIntegers(TestRailTestReporter customReporter) {\n        \/\/ Sets the \"testrail_attachment\" property on the report with a path to a file to be uploaded with the test result\n        customReporter.setProperty(\"testrail_result_comment\", \"positive case integer addition scenario\");\n        \nassertEquals(3, 2+1, \"2+1 should equal 3\");\n    }\n}<\/pre>\n<p><iframe loading=\"lazy\" width=\"650\" height=\"380\" src=\"https:\/\/www.youtube.com\/embed\/C7u5paVtbu4?si=Adlc5N9-K1ELK_LX\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/><strong>\u6ce8\u610f<\/strong><span>\uff1a\u7d50\u679c\u30b9\u30c6\u30c3\u30d7\u3092\u6b63\u5e38\u306b\u9001\u4fe1\u3059\u308b\u306b\u306f\u3001\u5bfe\u8c61\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u3001<\/span><code class=\"inline-code\">step_results<\/code><span>\u00a0\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u3053\u306e\u7d50\u679c\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u300c\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 (\u30b9\u30c6\u30c3\u30d7)\u300d\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3060\u3051\u306b\u3042\u308a\u307e\u3059\u304c\u3001\u4ed6\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u300c\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 (\u30b9\u30c6\u30c3\u30d7)\u300d\u3092\u542b\u3081\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306f\u3001<\/span><a href=\"\/user-guide\/test-cases\/test-case-templates\/\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a><span>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\">&lt;testsuites name=\"test suites root\"&gt;\n  &lt;testsuite failures=\"0\" errors=\"0\" skipped=\"1\" tests=\"1\" time=\"0.05\" name=\"tests.LoginTests\"&gt;\n    &lt;properties&gt;&lt;property name=\"setting1\" value=\"True\"\/&gt;&lt;\/properties&gt;\n    &lt;testcase classname=\"tests.LoginTests\" name=\"test_case_2\" time=\"650\"&gt;\n     &lt;properties&gt;\n         &lt;property name=\"testrail_attachment\" value=\"path_to\/logs.log\"\/&gt;\n         &lt;property name=\"testrail_attachment\" value=\"path_to\/screenshot.jpg\"\/&gt;\n         &lt;property name=\"testrail_result_field\" value=\"version:1.2\"\/&gt;\n         &lt;property name=\"testrail_result_field\" value=\"custom_environment:qa02\"\/&gt;\n         &lt;property name=\"testrail_result_comment\" value=\"Finding 1\"\/&gt;\n         &lt;property name=\"testrail_result_comment\" value=\"Finding 2\"\/&gt;\n         &lt;property name=\"testrail_result_step\" value=\"passed: Insert login credentials\"\/&gt;\n         &lt;property name=\"testrail_result_step\" value=\"failed: Click submit\"\/&gt;\n         &lt;property name=\"testrail_result_step\" value=\"untested: User should be logged in\"\/&gt;\n     &lt;\/properties&gt;\n    &lt;\/testcase&gt;\n  &lt;\/testsuite&gt;\n&lt;\/testsuites&gt;<\/pre>\n<h2>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u4f5c\u6210\u306e\u88dc\u5f37<\/h2>\n<p>\u81ea\u52d5\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u4f5c\u6210\u3092\u4f34\u3046\u30b3\u30fc\u30c9\u30d5\u30a1\u30fc\u30b9\u30c8 \u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u63a1\u7528\u3059\u308b\u5834\u5408\u3001\u4efb\u610f\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30c7\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u3066\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u88dc\u5f37\u3067\u304d\u307e\u3059\u3002\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3059\u308b\u969b\u3001TestRail \u306f\u3055\u307e\u3056\u307e\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u3055\u307e\u3056\u307e\u306a\u30bf\u30a4\u30d7\u306e\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u753b\u9762\u30b7\u30e7\u30c3\u30c8\u3092\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u308a\u3001\u7d50\u679c\u306b\u30c6\u30ad\u30b9\u30c8 \u30b3\u30e1\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u7d50\u679c\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3088\u308a\u69cb\u9020\u7684\u306b\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002TestRail CLI \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u308c\u3092\u3059\u3079\u3066\u3001\u8907\u6570\u306e\u65b9\u6cd5\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u540c\u3058\u5024\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001<code class=\"inline-code\">--case-fields<\/code> \u3092 1 \u56de\u307e\u305f\u306f\u8907\u6570\u56de\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u3067\u76f4\u63a5\u5024\u3092\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --result-fields \"version:1.2\" \\\n&gt;    --result-fields \"custom_environment:qa02\" \\\n&gt;    -f \"results.xml\"<\/pre>\n<p>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3054\u3068\u306b\u7570\u306a\u308b\u5024\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u3082\u3001\u6b21\u306e\u5f62\u5f0f\u3067 JUnit \u30ec\u30dd\u30fc\u30c8\u306e\u5404\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>\u30b1\u30fc\u30b9 \u30d5\u30a3\u30fc\u30eb\u30c9<\/strong>\n<ul>\n<li>\u540d\u524d: <code class=\"inline-code\" style=\"font-size: 15px;\">testrail_case_field<\/code> \u307e\u305f\u306f\u3053\u308c\u3092\u63a5\u982d\u8f9e\u3068\u3057\u307e\u3059\u3002<\/li>\n<li>\u5024: <code class=\"inline-code\">field_name:field_value<\/code> \u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\">&lt;testsuites name=\"test suites root\"&gt;\n  &lt;testsuite failures=\"0\" errors=\"0\" skipped=\"1\" tests=\"1\" time=\"0.05\" name=\"tests.LoginTests\"&gt;\n    &lt;properties&gt;&lt;property name=\"setting1\" value=\"True\"\/&gt;&lt;\/properties&gt;\n    &lt;testcase classname=\"tests.LoginTests\" name=\"test_case_2\" time=\"650\"&gt;\n     &lt;properties&gt;\n         &lt;property name=\"testrail_case_field\" value=\"refs:STORY-1\"\/&gt;\n         &lt;property name=\"testrail_case_field\" value=\"custom_preconds:My preconditions\"\/&gt;\n     &lt;\/properties&gt;\n    &lt;\/testcase&gt;\n  &lt;\/testsuite&gt;\n&lt;\/testsuites&gt;<\/pre>\n<h2 id=\"01H9QQAEQXVV8GAG6EWCYF072R\"><span>\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092 1 \u3064\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u4fdd\u6301\u3059\u308b<\/span><\/h2>\n<p>\u81ea\u52d5\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u4f5c\u6210\u3067\u30b3\u30fc\u30c9\u30d5\u30a1\u30fc\u30b9\u30c8\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u3053\u308c\u3089\u3092\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306e\u4ed6\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304b\u3089\u5206\u96e2\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092 1 \u3064\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u307e\u3068\u3081\u308b\u306e\u306b<span>\u00a0<\/span><code class=\"inline-code\">--section-id<\/code><span>\u00a0<\/span>\u5f15\u6570\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3059\u3079\u3066\u306e\u81ea\u52d5\u30b9\u30a4\u30fc\u30c8\u3068\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304c\u6307\u5b9a\u3055\u308c\u305f\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u4e0b\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --section-id \"213\" \\\n&gt;    -f \"results.xml\"<\/pre>\n<h2>\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u3078\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u8ffd\u52a0<\/h2>\n<p>\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u306f\u3001\u30c6\u30b9\u30c8\u4f5c\u696d\u3092\u6574\u7406\u3059\u308b\u306e\u306b\u975e\u5e38\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<span>\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5171\u901a\u306e\u76ee\u7684\u3092\u6301\u3064\u30c6\u30b9\u30c8 \u30e9\u30f3\u307e\u305f\u306f\u30c6\u30b9\u30c8\u8a08\u753b\u3092\u96c6\u7d04\u3067\u304d\u307e\u3059\u3002<\/span>\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u306e\u4e0b\u306b\u81ea\u52d5\u30c6\u30b9\u30c8\u7528\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u3001<code class=\"inline-code\">--milestone-id<\/code> \u5f15\u6570\u3092\u6e21\u3059\u3068\u3001TestRail CLI \u306f\u6307\u5b9a\u3055\u308c\u305f\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u306e\u4e0b\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --milestone-id \"57\" \\\n&gt;    -f \"results.xml\"<\/pre>\n<p><span>\u6307\u5b9a\u3055\u308c\u305f\u30de\u30a4\u30eb \u30b9\u30c8\u30fc\u30f3\u306b\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30e9\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u30011 \u7b87\u6240\u3067\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3092\u8ffd\u8de1\u3057\u7d9a\u3051\u308b\u65b9\u6cd5\u306e 1 \u3064\u3067\u3059\u3002<\/span><\/p>\n<h2 id=\"01H9QPTPVWRDP0ZMTP0S3DSH0K\">\u30c6\u30b9\u30c8\u8a08\u753b\u3078\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u8ffd\u52a0<\/h2>\n<p>\u307e\u305f\u3001\u30c6\u30b9\u30c8\u8a08\u753b\u306f\u3001\u5171\u901a\u306e\u76ee\u7684\u3092\u6301\u3064\u30c6\u30b9\u30c8\u8a08\u753b\u3092\u96c6\u7d04\u3057\u3001\u3055\u3089\u306b\u3001\u7279\u5b9a\u306e\u5b9f\u884c\u69cb\u6210\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u540c\u3058\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u7570\u306a\u308b\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u5b9f\u884c\u3057\u3001\u305d\u306e\u60c5\u5831\u3092\u30c6\u30b9\u30c8\u8a08\u753b\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c6\u30b9\u30c8\u8a08\u753b\u306e\u4e0b\u306b\u81ea\u52d5\u30c6\u30b9\u30c8\u7528\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u3001<code class=\"inline-code\">--plan-id<\/code><span>\u00a0<\/span>\u5f15\u6570\u3092\u6e21\u3059\u3068\u3001TestRail CLI \u306f\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30b9\u30c8\u8a08\u753b\u306e\u4e0b\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u308c\u306b\u52a0\u3048\u3066\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u3001\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u7279\u5b9a\u306e\u69cb\u6210\u3068\u95a2\u9023\u4ed8\u3051\u305f\u3044\u5834\u5408\u306f\u3001<span>\u00a0<\/span><code class=\"inline-code\">--config-ids<\/code><span>\u00a0<\/span>\u5f15\u6570\u306b\u30ab\u30f3\u30de\u533a\u5207\u308a\u306e\u8a2d\u5b9a ID \u3092\u6e21\u3059\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --plan-id \"57\" \\\n&gt;    --config-ids \"25,34\" \\\n&gt;    -f \"results.xml\"<\/pre>\n<p><span>\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30b9\u30c8\u8a08\u753b\u306b\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30e9\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u30011 \u7b87\u6240\u3067\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3092\u8ffd\u8de1\u3057\u7d9a\u3051\u308b\u3082\u3046 1 \u3064\u306e\u65b9\u6cd5\u3067\u3059\u3002<\/span><\/p>\n<h2 id=\"01G80RDR0SB93HB69GQZG4KC13\">\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u66f4\u65b0\u3059\u308b<\/h2>\n<p>TestRail CLI \u3092\u5b9f\u884c\u3057\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u304c TestRail \u306b\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u4e00\u90e8\u306e\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3057\u3066\u3044\u308b\u306e\u3067\u8a72\u5f53\u30c6\u30b9\u30c8\u3092\u518d\u5b9f\u884c\u3057\u3001\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u65b0\u3057\u3044\u7d50\u679c\u3067\u66f4\u65b0\u3057\u305f\u3044\u5834\u5408\u3092\u60f3\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u3001<code class=\"inline-code\">--run-id<\/code> \u5f15\u6570\u3092\u6e21\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001TestRail CLI \u306f\u6307\u5b9a\u3055\u308c\u305f ID \u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --run-id \"32\" \\\n&gt;    -f \"results.xml\"<\/pre>\n<p>\u30c6\u30b9\u30c8\u8a73\u7d30\u30d1\u30cd\u30eb\u306b\u65b0\u3057\u3044\u30c6\u30b9\u30c8\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u30011 \u3064\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u3067\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3092\u8ffd\u8de1\u3057\u7d9a\u3051\u308b\u65b9\u6cd5\u306e 1 \u3064\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_01.png\" alt=\"\" width=\"503\" height=\"716\" class=\"aligncenter size-full wp-image-24686\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_01.png 503w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_01-480x683.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 503px, 100vw\" \/><\/a><\/p>\n<h2 id=\"h_01JZ5G6G02KQMDS18CK1FJ2K62\">\u30ab\u30b9\u30bf\u30e0 \u30c6\u30b9\u30c8\u7d50\u679c\u306b\u57fa\u3065\u304f\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u66f4\u65b0<\/h2>\n<p>config.yaml \u3092\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u3001TestRail \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u30b9\u30c6\u30fc\u30bf\u30b9 (Passed\u3001Failed\u3001Skipped \u306a\u3069) \u3092\u30ab\u30b9\u30bf\u30e0 \u30b9\u30c6\u30fc\u30bf\u30b9 ID \u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u304c\u91cd\u8981\u306a\u7406\u7531:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u67d4\u8edf\u306a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u30b5\u30dd\u30fc\u30c8: \u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30c1\u30fc\u30e0\u72ec\u81ea\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u5206\u985e\u6cd5\u306b\u5408\u308f\u305b\u307e\u3059 (\u4f8b: \u300c\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u5408\u683c\u300d\u3001\u300c\u5b9f\u884c\u4e2d\u306e\u30a8\u30e9\u30fc\u300d)\u3002<\/li>\n<li>\u624b\u4f5c\u696d\u3092\u8efd\u6e1b: \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5f8c\u306b\u624b\u52d5\u3067\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u3088\u308a\u7c21\u5358\u306a\u81ea\u52d5\u5316\u7d71\u5408\uff1a\u69cb\u6210\u99c6\u52d5\u578b\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u308a\u3001CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3084\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3068\u306e\u7d71\u5408\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u5f8c\u65b9\u4e92\u63db\u6027: \u30c7\u30d5\u30a9\u30eb\u30c8 \u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u4f7f\u7528\u3059\u308b\u65e2\u5b58\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u9023\u643a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u4f8b:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Passed \u2192 \u201cAutomation Passed\u201d (ID: 7)<\/li>\n<li>Failed \u2192 \u201cAutomation Failed\u201d (ID: 8)<\/li>\n<li>Skipped \u2192 \u201cStep Skipped\u201d (ID: 3)<\/li>\n<li>Error \u2192 \u201cError in Execution\u201d (ID: 4)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u3088\u308a\u3001TestRail \u3067\u8907\u96d1\u306a\u30c6\u30b9\u30c8\u74b0\u5883\u3084\u81ea\u52d5\u5316\u3055\u308c\u305f\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u7ba1\u7406\u3059\u308b\u30c1\u30fc\u30e0\u306e\u7ba1\u7406\u3068\u4e00\u8cab\u6027\u304c\u5f37\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u88c5\u65b9\u6cd5:<\/p>\n<p>\u307e\u305a\u3001TestRail \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u30ab\u30b9\u30bf\u30e0\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u4f5c\u6210\u3057\u3001\u5404\u30b9\u30c6\u30fc\u30bf\u30b9\u306e ID \u3092\u5b9f\u884c\u304b\u3089\u8fd4\u3055\u308c\u308b\u7d50\u679c\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Customizations-TestRail-07-02-2025_01_04_PM.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Customizations-TestRail-07-02-2025_01_04_PM.png\" alt=\"\" width=\"904\" height=\"664\" class=\"aligncenter wp-image-28392 size-full\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Customizations-TestRail-07-02-2025_01_04_PM.png 904w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Customizations-TestRail-07-02-2025_01_04_PM-480x353.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 904px, 100vw\" \/><\/a><\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Screenshot-2025-07-02-142025.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Screenshot-2025-07-02-142025.png\" alt=\"\" width=\"792\" height=\"491\" class=\"aligncenter wp-image-28393 size-full\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Screenshot-2025-07-02-142025.png 792w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/Screenshot-2025-07-02-142025-480x298.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 792px, 100vw\" \/><\/a><\/p>\n<p>TestRail \u3067\u5b9a\u7fa9\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u3001<code class=\"inline-code\">--case_result_statuses<\/code><span>\u00a0<\/span>\u5f15\u6570\u3068\u7d50\u679c\u30bf\u30a4\u30d7\u306e ID \u3092\u6e21\u3059\u3060\u3051\u3067\u3001\u89e3\u6790\u6642\u306b\u60c5\u5831\u304c\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --case_result_statuses:\n                  passed: 7     # e.g., Automation Passed\n                  failure: 8    # e.g., Automation Failed\n                  error: 4      # Optional: for exceptions\n                  skipped: 3    # Optional: for skipped tests\\\n&gt;    -f \"results.xml\"<\/pre>\n<pre><code class=\"shell\"><\/code><\/pre>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/TRCLI-Cypress-Test-Status-TestRail-07-02-2025_01_05_PM.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/TRCLI-Cypress-Test-Status-TestRail-07-02-2025_01_05_PM.png\" alt=\"\" width=\"307\" height=\"552\" class=\"aligncenter wp-image-28394 size-full\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/TRCLI-Cypress-Test-Status-TestRail-07-02-2025_01_05_PM.png 307w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/TRCLI-Cypress-Test-Status-TestRail-07-02-2025_01_05_PM-167x300.png 167w\" sizes=\"auto, (max-width: 307px) 100vw, 307px\" \/><\/a><\/p>\n<h2 id=\"01G80RDR0SJ7D15682HD8FXQ1C\">\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u30af\u30ed\u30fc\u30ba<\/h2>\n<p>\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u305f\u3060\u3061\u306b\u30af\u30ed\u30fc\u30ba\u3059\u308b\u306b\u306f\u3001<code class=\"inline-code\">--close-run<\/code> \u5f15\u6570\u3092\u6e21\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001TestRail CLI \u306f\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u8ffd\u52a0\u3057\u3066\u304b\u3089\u30af\u30ed\u30fc\u30ba \u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30e9\u30f3\u3092\u5b8c\u4e86\u3057\u305f\u5f8c\u306b\u7d50\u679c\u3092\u5909\u66f4\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --close-run \\\n&gt;    -f \"results.xml\"<\/pre>\n<p>\u30c6\u30b9\u30c8\u30e9\u30f3\u306f\u5b8c\u4e86\u6e08\u307f\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_02.png\" alt=\"\" width=\"710\" height=\"135\" class=\"aligncenter size-full wp-image-24687\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_02.png 710w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_02-480x91.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 710px, 100vw\" \/><\/a><\/p>\n<h2>\u30df\u30ea\u79d2\u5358\u4f4d\u3067\u306e\u7d50\u679c\u306e\u7d4c\u904e\u6642\u9593<\/h2>\n<p><strong>TestRail \u30d0\u30fc\u30b8\u30e7\u30f3 <span class=\"ui-provider dog doh c d e f g h i j k l m n o p q r s t doi doj w x y z ab ac ae af ag ah ai aj ak\" dir=\"ltr\">5.5<\/span>\u00a0\u4ee5\u4e0a<\/strong>\u3067\u306f\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u7d4c\u904e\u6642\u9593\u3092\u30df\u30ea\u79d2 (\u3064\u307e\u308a 0.001 \u79d2)\u5358\u4f4d\u3067\u30b5\u30d6\u30df\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001TestRail CLI \u306f\u3059\u3079\u3066\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e TestRail \u306b\u9069\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u6642\u9593\u3092\u79d2\u5358\u4f4d\u306b\u4e38\u3081\u307e\u3059\u3002\u30df\u30ea\u79d2\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u3001\u7d50\u679c\u306e\u7d4c\u904e\u6642\u9593\u3092\u30df\u30ea\u79d2\u5358\u4f4d\u3067\u8868\u793a\u3057\u305f\u3044\u5834\u5408\u3001<code class=\"inline-code\">--allow-ms<\/code> \u5f15\u6570\u3092\u6e21\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">$ trcli -y \\\n&gt;    -h \"https:\/\/INSERT-INSTANCE-NAME.testrail.io\" \\\n&gt;    --project \"TRCLI Test\" \\\n&gt;    --username \"user@domain.com\" \\\n&gt;    --password \"passwordORapikey\" \\\n&gt;    parse_junit \\\n&gt;    --title \"Automated Tests Run\" \\\n&gt;    --allow-ms \\\n&gt;    -f \"results.xml\"<\/pre>\n<p>\u30c6\u30b9\u30c8\u7d50\u679c\u3067\u3001\u7d4c\u904e\u6642\u9593\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30df\u30ea\u79d2\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_03.png\" alt=\"\" width=\"470\" height=\"164\" class=\"aligncenter size-full wp-image-24685\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_03.png 470w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/usage-examples_03-300x105.png 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/a><\/p>\n<h2 id=\"01G80RDR0S7DDBZSPGV6QBKRFX\">\u4ee3\u66ff\u8a2d\u5b9a\u3092<a href=\"https:\/\/github.com\/gurock\/trcli\/blob\/main\/README.md#configuration-files\" target=\"_blank\" rel=\"noopener noreferrer\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/a>\u306b\u4fdd\u5b58\u3059\u308b<\/h2>\n<p>\u5225\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3084\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3059\u3070\u3084\u304f\u7c21\u5358\u306b\u7d50\u679c\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3057\u305f\u308a\u3001\u30b3\u30de\u30f3\u30c9\u3067\u5225\u306e\u8a8d\u8a3c\u60c5\u5831\u3084\u3042\u3089\u304b\u3058\u3081\u8a2d\u5b9a\u3057\u305f\u5225\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u308a\u3059\u308b\u306b\u306f\u3001\u4ee3\u66ff\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<span>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f YAML \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u8a18\u8ff0\u3055\u308c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u00a0<\/span><code class=\"inline-code\">config.yml<\/code><span>\u00a0\u3068\u3044\u3046\u540d\u524d\u3067 TRCLI \u5b9f\u884c\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/span>\u74b0\u5883\u5909\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3059\u308b\u3068\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u3059\u3079\u3066\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3067\u74b0\u5883\u5909\u6570\u304c\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3082\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8a8d\u8a3c\u60c5\u5831\u3092\u4fdd\u5b58\u3057\u305f\u4ee3\u66ff\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">host: https:\/\/INSERT-INSTANCE-NAME.testrail.io \nproject: TRCLI Test\nusername: username@domain.com \npassword: passwordORapikey\ntitle: Automated Tests Run\n$ trcli -y \\\n&gt;    --config alternate_config.yaml \\\n&gt;    parse_junit \\\n&gt;    -f \"results.xml\"<\/pre>\n<p><code class=\"shell\"><\/code><\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"h_01JWDZVPQGS256CJJWHCZE9VSW\">\u65b0\u898f\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u89e3\u6790\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5834\u5408\u3001<code>add_run<\/code>&nbsp;\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30c6\u30b9\u30c8\u304c\u72ec\u7acb\u3057\u305f\u30c6\u30b9\u30c8 \u30ce\u30fc\u30c9\u3067\u4e26\u884c\u3057\u3066\u5b9f\u884c\u3055\u308c\u308b\u5834\u5408\u3001\u3059\u3079\u3066\u306e\u30ce\u30fc\u30c9\u304c\u540c\u3058\u30c6\u30b9\u30c8 \u30e9\u30f3\u306b\u7d50\u679c\u3092\u5831\u544a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001<code>add_run<\/code>&nbsp;\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u30e9\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30e9\u30f3\u306e\u30bf\u30a4\u30c8\u30eb\u3068 ID \u3092\u5404\u30c6\u30b9\u30c8 \u30ce\u30fc\u30c9\u306b\u6e21\u3057\u3001\u305d\u308c\u3092\u4f7f\u7528\u3057\u3066\u3059\u3079\u3066\u306e\u7d50\u679c\u3092\u540c\u3058\u30c6\u30b9\u30c8 \u30e9\u30f3\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ trcli add_run --help\nTestRail CLI v1.9.12\nCopyright 2025 Gurock Software GmbH - www.gurock.com\nUsage: trcli add_run [OPTIONS]\n\nOptions:\n  -title               Title of Test Run to be created or updated in\n                       TestRail.\n  --suite-id           Suite ID to submit results to. [x>=1]\n  --run-description    Summary text to be added to the test run.\n  ---milestone-id      Milestone ID to which the Test Run should be\n                       associated to. [x>=1]\n  --run-assigned-to-id The ID of the user the test run should be assigned\n                       to. [x>=1]\n  --run-include-all    Use this option to include all test cases in this test run.\n  --case-ids           Comma separated list of test case IDs to include in\n                       the test run.\n  --run-refs           A comma-separated list of references\/requirements\n  -f, --file           Write run title and id to file.\n  --help               Show this message and exit.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u52d5\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u3084\u3001\u3088\u308a\u591a\u304f\u306e\u30c7\u30fc\u30bf\u3067\u7d50\u679c\u3092\u88dc\u5f37\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u3001TestRail CLI \u306f\u5e45\u5e83\u3044\u30cb\u30fc\u30ba\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002 CLI \u3092\u4f7f\u7528\u3057\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u88dc\u5f37 \u30c6\u30b9\u30c8\u7d50\u679c [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":24151,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-24680","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=24680"}],"version-history":[{"count":34,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24680\/revisions"}],"predecessor-version":[{"id":29731,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24680\/revisions\/29731"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24151"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=24680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}