{"id":24215,"date":"2023-09-14T11:36:57","date_gmt":"2023-09-14T02:36:57","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=24215"},"modified":"2025-10-23T20:42:11","modified_gmt":"2025-10-23T11:42:11","slug":"cli-reference","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/test-automation\/testrail-cli\/cli-reference\/","title":{"rendered":"CLI \u30b3\u30de\u30f3\u30c9 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/TestRail_CLI-Navy-Logo-300x121.png\" alt=\"\" width=\"300\" height=\"121\" class=\"alignnone wp-image-28361 size-medium\" \/><\/p>\n<h2 id=\"h_01K1JZ2XTSW9KSQK3G371RXAQB\">\u5168\u822c<\/h2>\n<p>TRCLI \u306f\u3001\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210\u3001\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u5916\u90e8\u30ec\u30dd\u30fc\u30c8\u304b\u3089\u306e\u30b1\u30fc\u30b9\u306e\u751f\u6210\u306a\u3069\u306e TestRail \u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u81ea\u52d5\u5316\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3 \u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>\u7528\u9014\u306e\u4f8b<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30ed\u30fc\u30ab\u30eb \u30b9\u30af\u30ea\u30d7\u30c8\u307e\u305f\u306f CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u304b\u3089 QA \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u81ea\u52d5\u5316\u3059\u308b<\/li>\n<li>TestRail \u306e UI \u3092\u4f7f\u7528\u305b\u305a\u306b\u3001\u3088\u308a\u901f\u304f\u3001\u7e70\u308a\u8fd4\u3057\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u5229\u7528\u53ef\u80fd\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3084\u30b3\u30de\u30f3\u30c9\u306e\u30d8\u30eb\u30d7\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u6700\u3082\u57fa\u672c\u7684\u306a\u30b3\u30de\u30f3\u30c9:<\/p>\n<pre><code class=\"language-bash inline-code\">trcli --help<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">TestRail CLI v1.1X.X\nCopyright 2025 Gurock Software GmbH - www.gurock.com\nUsage: trcli [OPTIONS] COMMAND [ARGS]...\n\n  TestRail CLI\n\nOptions:\n  -c, --config       Optional path definition for testrail-credentials file or\n                     CF file.\n  -h, --host         Hostname of instance.\n  --project          Name of project the Test Run should be created under.\n  --project-id       Project id. Will be only used in case project name will\n                     be duplicated in TestRail  [x&gt;=1]\n  -u, --username     Username.\n  -p, --password     Password.\n  -k, --key          API key used for authenticating with TestRail. This must\n                     be used in conjunction with --username. If provided,\n                     --password is not required.\n  -v, --verbose      Output all API calls and their results.\n  --verify           Verify the data was added correctly.\n  --insecure         Allow insecure requests.\n  -b, --batch-size   Configurable batch size.  [default: (50); x&gt;=2]\n  -t, --timeout      Batch timeout duration.  [default: (30); x&gt;=0]\n  -y, --yes          answer 'yes' to all prompts around auto-creation\n  -n, --no           answer 'no' to all prompts around auto-creation\n  -s, --silent       Silence stdout\n  --proxy            Proxy address and port (e.g.,\n                     http:\/\/proxy.example.com:8080).\n  --proxy-user       Proxy username and password in the format\n                     'username:password'.\n  --noproxy          Comma-separated list of hostnames to bypass the proxy\n                     (e.g., localhost,127.0.0.1).\n  --help             Show this message and exit.\n\nCommands:\n  add_run        Add a new test run in TestRail\n  parse_junit    Parse JUnit report and upload results to TestRail\n  parse_openapi  Parse OpenAPI spec and create cases in TestRail\n  parse_robot    Parse Robot Framework report and upload results to TestRail\n<\/pre>\n<h3 id=\"h_01K1JZ2XXVA5V828T2X5B5CMQA\">\u30b0\u30ed\u30fc\u30d0\u30eb \u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<p>\u3053\u308c\u3089\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3069\u306e TRCLI \u30b3\u30de\u30f3\u30c9\u3067\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure class=\"wysiwyg-table wysiwyg-table-align-left\">\n<table class=\"table--hover wysiwyg-table-resized\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code\">-c, --config<\/code><\/td>\n<td><strong>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9<\/strong><span>\u00a0<\/span>(\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">testrail-credentials.json<\/code>)\u3002\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u306b\u8868\u793a\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u3092\u4fdd\u5b58\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-h, --host<\/code><\/td>\n<td><strong>TestRail \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e URL<\/strong><span>\u00a0<\/span>\u3067\u3059\u3002(\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">https:\/\/yourcompany.testrail.io<\/code>) \u5fc5\u9808\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--project<\/code><\/td>\n<td>TestRail \u306e<strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d<\/strong>\u3002\u7279\u5b9a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30e9\u30f3\u3092\u4f5c\u6210\u307e\u305f\u306f\u53d6\u5f97\u3059\u308b\u306e\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--project-id<\/code><\/td>\n<td><strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID<\/strong>\u3002\u8907\u6570\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u540c\u3058\u540d\u524d\u3092\u6301\u3064\u5834\u5408\u306b\u306e\u307f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-u, --username<\/code><\/td>\n<td>TestRail \u306e<strong>\u30ed\u30b0\u30a4\u30f3 \u30e6\u30fc\u30b6\u30fc\u540d<\/strong><span>\u00a0<\/span>(\u901a\u5e38\u306f\u96fb\u5b50\u30e1\u30fc\u30eb)\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u5fc5\u9808\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-p, --password<\/code><\/td>\n<td>TestRail \u306e<strong>\u30d1\u30b9\u30ef\u30fc\u30c9<\/strong>\u3002API \u30ad\u30fc\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-k, --key<\/code><\/td>\n<td>\u30bb\u30ad\u30e5\u30a2\u306a\u8a8d\u8a3c\u306b\u4f7f\u7528\u3059\u308b<span>\u00a0<\/span><strong>API \u30ad\u30fc<\/strong>\u3067\u3059\u3002<code class=\"inline-code\">--username<\/code>\u3068\u5171\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-v, --verbose<\/code><\/td>\n<td>API \u306e\u547c\u3073\u51fa\u3057\u304a\u3088\u3073\u5fdc\u7b54\u3092\u542b\u3080<strong>\u8a73\u7d30\u306a\u30ed\u30b0<\/strong>\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u306b\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--verify<\/code><\/td>\n<td>\u30c7\u30fc\u30bf (\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u306a\u3069) \u304c\u6b63\u3057\u304f\u8ffd\u52a0\u3055\u308c\u305f\u3053\u3068\u3092<strong>\u691c\u8a3c<\/strong>\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--insecure<\/code><\/td>\n<td><strong>\u30bb\u30ad\u30e5\u30a2\u3067\u306f\u306a\u3044 HTTPS \u30ea\u30af\u30a8\u30b9\u30c8<\/strong><span>\u00a0<\/span>\u3092\u8a31\u53ef\u3057\u307e\u3059 (SSL\u691c\u8a3c\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b)\u3002\u4f7f\u7528\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-b, --batch-size<\/code><\/td>\n<td><strong>\u5404 API \u30d0\u30c3\u30c1<\/strong>\u3067\u51e6\u7406\u3059\u308b\u30a2\u30a4\u30c6\u30e0\u306e\u6570\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u5024: 50\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u306b\u306f\u5024\u3092\u5897\u3084\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-t, --timeout<\/code><\/td>\n<td>API \u30d0\u30c3\u30c1\u9593\u306e\u5f85\u3061\u6642\u9593 (\u79d2)\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u5024: 30\u3002API \u30ec\u30fc\u30c8\u5236\u9650\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-y, --yes<\/code><\/td>\n<td>\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5bfe\u3057\u3066\u81ea\u52d5\u7684\u306b<span>\u00a0<\/span><strong>&#8216;yes&#8217;<\/strong><span>\u00a0<\/span>\u3068\u7b54\u3048\u307e\u3059 (\u305f\u3068\u3048\u3070\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u81ea\u52d5\u4f5c\u6210\u3059\u308b\u5834\u5408\u306a\u3069)\u3002CI\/CD \u3067\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-n, --no<\/code><\/td>\n<td>\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5bfe\u3057\u3066\u81ea\u52d5\u7684\u306b<span>\u00a0<\/span><strong>&#8216;no&#8217;<\/strong><span>\u00a0<\/span>\u3068\u7b54\u3048\u307e\u3059\u3002\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306e\u81ea\u52d5\u4f5c\u6210\u3092\u9632\u304e\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-s, --silent<\/code><\/td>\n<td>\u3059\u3079\u3066\u306e<span>\u00a0<\/span><strong>\u6a19\u6e96\u51fa\u529b<\/strong><span>\u00a0<\/span>(stdout) \u3092\u6291\u5236\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--proxy<\/code><\/td>\n<td><strong>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc<\/strong><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u307e\u3059 (\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">http:\/\/proxy.company.com:8080<\/code>)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--proxy-user<\/code><\/td>\n<td><code class=\"inline-code\">username:password<\/code><span>\u00a0<\/span>\u3068\u3044\u3046\u5f62\u5f0f\u306e\u30d7\u30ed\u30ad\u30b7<strong>\u8a8d\u8a3c\u60c5\u5831<\/strong>\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--noproxy<\/code><\/td>\n<td>\u30d7\u30ed\u30ad\u30b7\u3092<strong>\u30d0\u30a4\u30d1\u30b9\u3059\u308b\u30db\u30b9\u30c8<\/strong>\u306e\u30ab\u30f3\u30de\u533a\u5207\u308a\u30ea\u30b9\u30c8 (\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">localhost,127.0.0.1<\/code>)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--help<\/code><\/td>\n<td>\u30b3\u30de\u30f3\u30c9\u306e\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h3 id=\"h_01K1K3F8J4GPVY9T8E7W5RA2Y9\">\u30b3\u30de\u30f3\u30c9\u306e\u6982\u8981<\/h3>\n<figure class=\"wysiwyg-table wysiwyg-table-align-left\">\n<table class=\"table--hover wysiwyg-table-resized\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>\u30b3\u30de\u30f3\u30c9<\/th>\n<th>\u51e6\u7406<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code\">add_run<\/code><\/td>\n<td>TestRail \u306b<strong>\u65b0\u898f\u30c6\u30b9\u30c8 \u30e9\u30f3<\/strong>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">parse_junit<\/code><\/td>\n<td><strong>JUnit XML \u30ec\u30dd\u30fc\u30c8<\/strong>\u3092\u89e3\u6790\u3057\u3001\u7d50\u679c\u3092 TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">parse_openapi<\/code><\/td>\n<td><strong>OpenAPI \u4ed5\u69d8<\/strong>\u3092\u89e3\u6790\u3057\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">parse_robot<\/code><\/td>\n<td><strong>Robot Framework<\/strong><span>\u00a0<\/span>\u30c6\u30b9\u30c8 \u30ec\u30dd\u30fc\u30c8\u3092\u89e3\u6790\u3057\u3001\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h2 id=\"h_01K1JZ2XY15Z1ANWH3WXP4Y0D3\">TestRail\u3067\u306e\u65b0\u898f\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210<\/h2>\n<p>TestRail \u3067\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001<span>\u00a0<\/span><code class=\"inline-code\">trcli add_run<\/code><span>\u00a0<\/span>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30e9\u30f3\u3092\u624b\u52d5\u3067\u5b9f\u884c\u3059\u308b\u5834\u5408\u306b\u3082\u3001\u81ea\u52d5\u5b9f\u884c\u3055\u308c\u305f\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u524d\u306b\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u5b9a\u7fa9\u3057\u305f\u308a\u3001\u30c6\u30b9\u30bf\u30fc\u3092\u5272\u308a\u5f53\u3066\u305f\u308a\u3001\u53c2\u7167\u3084\u8981\u4ef6\u3092\u30e9\u30f3\u306b\u30ea\u30f3\u30af\u3057\u305f\u308a\u3059\u308b\u5834\u5408\u306b\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u5f79\u7acb\u3061\u307e\u3059:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>QA \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3084\u30c6\u30b9\u30bf\u30fc\u304c\u4e8b\u524d\u306b\u4f5c\u696d\u8a08\u753b\u3092\u7acb\u3066\u308b<\/li>\n<li>\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u524d\u306b\u81ea\u52d5\u5316\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u30e9\u30f3 ID \u3092\u5fc5\u8981\u3068\u3059\u308b\u5834\u5408<\/li>\n<li>\u8981\u4ef6\u3001\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u3001\u307e\u305f\u306f\u30b9\u30d7\u30ea\u30f3\u30c8\u306e\u65e5\u4ed8\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u5408\u308f\u305b\u308b\u5834\u5408<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"h_01K1K4FSRJ4VH9X012VANEH2DB\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u4f8b<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">trcli add_run \\\n  --title \"Release 2.3 Regression\" \\\n  --suite-id 7 \\\n  --milestone-id 14 \\\n  --run-start-date \"08\/01\/2025\" \\\n  --run-end-date \"08\/05\/2025\" \\\n  --run-include-all \\\n  --run-refs REQ-101,REQ-202 \\\n  --run-assigned-to-id 3<\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u4e88\u5b9a\u3055\u308c\u305f\u65e5\u4ed8\u7bc4\u56f2\u3068\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u542b\u3080\u3001\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u306b\u30ea\u30f3\u30af\u3055\u308c\u305f\u30b9\u30a4 \u30fc\u30c8 ID 7 \u306e\u30bf\u30a4\u30c8\u30eb\u4ed8\u304d\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30e9\u30f3\u306f\u7279\u5b9a\u306e\u30c6\u30b9\u30bf\u30fc\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u30012 \u3064\u306e\u8981\u4ef6\u3092\u53c2\u7167\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"h_01K1JZ2XY6V4WHX3KKDEQS0W9A\" class=\"\">\u5229\u7528\u53ef\u80fd\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">TestRail CLI v1.1X.X\nCopyright 2025 Gurock Software GmbH - www.gurock.com\nUsage: trcli add_run [OPTIONS]\n\n  Add a new test run in TestRail\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&gt;=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&gt;=1]\n  --run-start-date       The expected or scheduled start date of this test run\n                         in MM\/DD\/YYYY format\n  --run-end-date         The expected or scheduled end date of this test run\n                         in MM\/DD\/YYYY format\n  --run-assigned-to-id   The ID of the user the test run should be assigned\n                         to.  [x&gt;=1]\n  --run-include-all      Use this option to include all test cases in this\n                         test run.\n  --run-case-ids         Comma separated list of test case IDs to include in\n                         the test run (i.e.: 1,2,3,4).\n  --run-refs             A comma-separated list of references\/requirements\n  -f, --file             Write run data to file.\n  --help                 Show this message and exit.<\/pre>\n<figure class=\"wysiwyg-table wysiwyg-table-align-left\">\n<table class=\"table--hover wysiwyg-table-resized\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code\">--title<\/code><\/td>\n<td>TestRail UI\u306b\u8868\u793a\u3055\u308c\u308b<strong>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u540d\u524d<\/strong><span>\u00a0<\/span>(\u4f8b: &#8220;Sprint 34 Regression&#8221;)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--suite-id<\/code><\/td>\n<td>\u30e9\u30f3\u3092\u95a2\u9023\u4ed8\u3051\u308b<span>\u00a0<\/span><strong>\u30c6\u30b9\u30c8 \u30b9\u30a4\u30fc\u30c8 ID<\/strong>\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u8907\u6570\u306e\u30b9\u30a4\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u5fc5\u9808\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-description<\/code><\/td>\n<td>\u30e9\u30f3\u306e<strong>\u6982\u8981\u307e\u305f\u306f\u30e1\u30e2<\/strong>\u3002\u30b9\u30b3\u30fc\u30d7\u3084\u76ee\u6a19\u3092\u660e\u78ba\u306b\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--milestone-id<\/code><\/td>\n<td>\u3053\u306e\u30e9\u30f3\u3092\u7279\u5b9a\u306e<span>\u00a0<\/span><strong>\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3 ID<\/strong><span>\u00a0<\/span>(\u30ea\u30ea\u30fc\u30b9\u3084\u30b9\u30d7\u30ea\u30f3\u30c8\u306a\u3069) \u306b\u30ea\u30f3\u30af\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-start-date<\/code><\/td>\n<td><code class=\"inline-code\">MM\/DD\/YYYY<\/code><span>\u00a0<\/span>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e<strong>\u958b\u59cb\u4e88\u60f3\u307e\u305f\u306f\u4e88\u5b9a\u65e5<\/strong>\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-end-date<\/code><\/td>\n<td>\u30e9\u30f3\u306e<strong>\u7d42\u4e86\u4e88\u60f3\u307e\u305f\u306f\u4e88\u5b9a\u65e5<\/strong>\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-assigned-to-id<\/code><\/td>\n<td>\u3053\u306e\u30e9\u30f3\u3092\u7279\u5b9a\u306e<span>\u00a0<\/span><strong>\u30e6\u30fc\u30b6\u30fc ID<\/strong><span>\u00a0<\/span>(\u30e9\u30f3\u3092\u62c5\u5f53\u3059\u308b\u4e3b\u8981\u306a\u30c6\u30b9\u30bf\u30fc) \u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-include-all<\/code><\/td>\n<td><strong>\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9<\/strong><span>\u00a0<\/span>\u3092\u3053\u306e\u30e9\u30f3\u306b\u542b\u3081\u307e\u3059\u3002<code class=\"inline-code\">--run-case-ids<\/code>\u3068\u540c\u6642\u306b\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-case-ids<\/code><\/td>\n<td>\u542b\u3081\u308b<strong>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 ID<\/strong><span>\u00a0<\/span>\u306e\u30ab\u30f3\u30de\u533a\u5207\u308a\u30ea\u30b9\u30c8 (\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">101,102,103<\/code>)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-refs<\/code><\/td>\n<td><strong>\u5916\u90e8\u53c2\u7167\u307e\u305f\u306f\u8981\u4ef6 ID<\/strong><span>\u00a0<\/span>\u306e\u30ab\u30f3\u30de\u533a\u5207\u308a\u30ea\u30b9\u30c8 (\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">REQ-101,REQ-202<\/code>)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">-f, --file<\/code><\/td>\n<td>\u751f\u6210\u3055\u308c\u305f\u30e9\u30f3 \u30c7\u30fc\u30bf\u3092\u767b\u9332\u3059\u308b\u4ee3\u308f\u308a\u306b\u30ed\u30fc\u30ab\u30eb\u306e<strong>\u30d5\u30a1\u30a4\u30eb<\/strong><span>\u00a0<\/span>\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002\u30d7\u30ec\u30d3\u30e5\u30fc\u3084\u76e3\u67fb\u306b\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--help<\/code><\/td>\n<td>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306e\u30d8\u30eb\u30d7\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h3 id=\"h_01K1TPKBYN69VBQWSMYCKVWGZJ\">\u30d2\u30f3\u30c8<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>\u30e9\u30f3\u3092\u7279\u5b9a\u306e\u30b1\u30fc\u30b9\u306b\u9650\u5b9a<\/strong>\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code class=\"inline-code\">--run-case-ids<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3055\u308c\u305f\u4f5c\u696d\u306b\u5bfe\u3057\u3066\u3001QA\u7ba1\u7406\u8005\u306f<strong>\u958b\u59cb\u65e5\/\u7d42\u4e86\u65e5<\/strong>\u3092\u5b9a\u7fa9\u3057\u3066\u53ef\u8996\u5316\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u30c6\u30b9\u30c8\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u81ea\u52d5\u5316<\/strong>\u3059\u308b\u5834\u5408\u3001\u5148\u306b\u30e9\u30f3\u3092\u4f5c\u6210\u3057\u3001\u5f8c\u3067<span>\u00a0<\/span><code class=\"inline-code\">--run-id<\/code><span>\u00a0<\/span>\u3092\u6307\u5b9a\u3057\u3066<span>\u00a0<\/span><code class=\"inline-code\">parse_junit<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"h_01K1JZ2XXY2NWE98Q5XG4KDF0N\">JUnit \u306e\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p>JUnit XML \u30ec\u30dd\u30fc\u30c8 (\u81ea\u52d5\u30c6\u30b9\u30c8\u3067\u306f\u4e00\u822c\u7684) \u3092\u89e3\u6790\u3057\u3001\u7d50\u679c\u3092 TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><code class=\"inline-code\">parse_junit<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u3066<span>\u00a0<\/span><strong>JUnit XML \u30ec\u30dd\u30fc\u30c8<\/strong>\u3092\u89e3\u6790\u3057\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u3092 TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u3053\u308c\u306f CI\/CD \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3084\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u5f8c\u306b\u3088\u304f\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5229\u7528\u306b\u9069\u3057\u305f\u30b1\u30fc\u30b9:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u5f8c (JUnit\u3001TestNG\u3001Selenium\u306a\u3069)<\/li>\n<li>\u7d50\u679c\u3092\u76f4\u63a5 TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u3044\u5834\u5408<\/li>\n<li>\u30b1\u30fc\u30b9\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306b\u81ea\u52d5\u4f5c\u6210\u3057\u305f\u308a\u3001\u65e2\u5b58\u306e\u30c6\u30b9\u30c8\u5b9f\u884c\u3092\u66f4\u65b0\u3057\u305f\u308a\u3057\u305f\u3044\u5834\u5408<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"h_01K1K4F9HB4DJV49EZV5JMYZ5E\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u4f8b<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">trcli parse_junit \\\n  -f build\/test-results\/test\/TEST-results.xml \\\n  --project \"Mobile App\" \\\n  --title \"Regression Test - Aug 1\" \\\n  --suite-id 10 \\\n  --milestone-id 22 \\\n  --case-matcher title \\\n  --close-run<\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001JUnit XML \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u6307\u5b9a\u3055\u308c\u305f\u30b9\u30a4\u30fc\u30c8\u306e\u4e0b\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u3001\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u3068\u95a2\u9023\u4ed8\u3051\u3001\u30bf\u30a4\u30c8\u30eb\u3067\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u7167\u5408\u3057\u3001\u7d42\u4e86\u5f8c\u306b\u30e9\u30f3\u3092\u9589\u3058\u307e\u3059\u3002<\/p>\n<h3 id=\"h_01K1TSX496P79AH5ANK0QCHBB0\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u5229\u7528\u53ef\u80fd\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">TestRail CLI v1.1X.X\nCopyright 2025 Gurock Software GmbH - www.gurock.com\nUsage: trcli parse_junit [OPTIONS]\n\n  Parse JUnit report and upload results to TestRail\n\nOptions:\n  -f, --file          Filename and path.\n  --close-run         Close the newly created run\n  --title             Title of Test Run to be created or updated in TestRail.\n  --case-matcher      Mechanism to match cases between the report and\n                      TestRail.\n  --suite-id          Suite ID to submit results to.  [x&gt;=1]\n  --suite-name        Suite name to submit results to.\n  --run-id            Run ID for the results they are reporting (otherwise the\n                      tool will attempt to create a new run).  [x&gt;=1]\n  --plan-id           Plan ID with which the Test Run will be associated.\n                      [x&gt;=1]\n  --config-ids        Comma-separated configuration IDs to use along with Test\n                      Plans (i.e.: 34,52).\n  --milestone-id      Milestone ID to which the Test Run should be associated\n                      to.  [x&gt;=1]\n  --section-id        Section ID to create new sections with test cases under\n                      (optional).  [x&gt;=1]\n  --run-description   Summary text to be added to the test run.\n  --case-fields       List of case fields and values for new test cases\n                      creation. Usage: --case-fields type_id:1 --case-fields\n                      priority_id:3\n  --result-fields     List of result fields and values for test results\n                      creation. Usage: --result-fields custom_field_a:value1\n                      --result-fields custom_field_b:3\n  --allow-ms          Allows using milliseconds for elapsed times.\n  --special-parser    Optional special parser option for specialized JUnit\n                      reports.\n  --help              Show this message and exit.<\/pre>\n<figure class=\"wysiwyg-table wysiwyg-table-align-left\">\n<table class=\"table--hover wysiwyg-table-resized\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code\">-f, --file<\/code><\/td>\n<td><strong>JUnit XML \u30ec\u30dd\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb<\/strong>\u3078\u306e\u30d1\u30b9\u3002\u5fc5\u9808<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--close-run<\/code><\/td>\n<td>\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u5f8c\u3001\u81ea\u52d5\u7684\u306b<strong>\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u7d42\u4e86\u3057\u307e\u3059<\/strong>\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--title<\/code><\/td>\n<td>\u4f5c\u6210\u307e\u305f\u306f\u66f4\u65b0\u3055\u308c\u308b\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u30bf\u30a4\u30c8\u30eb\u3002TestRail UI \u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--case-matcher<\/code><\/td>\n<td><strong>JUnit \u30ec\u30dd\u30fc\u30c8\u3068 TestRail \u306e\u9593\u3067\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u30de\u30c3\u30c1\u3055\u305b\u308b\u65b9\u6cd5<\/strong><span>\u00a0<\/span>(\u30bf\u30a4\u30c8\u30eb\u3001ID\u3001\u30ab\u30b9\u30bf\u30e0\u5c5e\u6027\u306a\u3069)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--suite-id<\/code><\/td>\n<td>\u7d50\u679c\u3092\u767b\u9332\u3059\u308b\u30b9\u30a4\u30fc\u30c8\u306e ID\u3002<strong>\u30de\u30eb\u30c1 \u30b9\u30a4\u30fc\u30c8 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/strong>\u306e\u5834\u5408\u306f\u5fc5\u9808\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--suite-name<\/code><\/td>\n<td><code class=\"inline-code\">--suite-id<\/code>\u306e\u4ee3\u66ff\u3067\u3059\u3002\u30e9\u30f3\u306b\u95a2\u9023\u4ed8\u3051\u308b\u30b9\u30a4\u30fc\u30c8\u306e\u540d\u524d\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-id<\/code><\/td>\n<td>\u65b0\u3057\u3044\u30e9\u30f3\u3092\u4f5c\u6210\u3059\u308b\u4ee3\u308f\u308a\u306b\u66f4\u65b0\u3059\u308b<strong>\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3<\/strong>\u306e ID\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--plan-id<\/code><\/td>\n<td>\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092<span>\u00a0<\/span><strong>\u30c6\u30b9\u30c8\u8a08\u753b<\/strong><span>\u00a0<\/span>\u306b\u30a2\u30bf\u30c3\u30c1\u3057\u307e\u3059 (\u3088\u308a\u5e83\u7bc4\u306a\u8a08\u753b\u306e\u4e0b\u3067\u30e9\u30f3\u3092\u6574\u7406\u3057\u3066\u3044\u308b\u5834\u5408)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--config-ids<\/code><\/td>\n<td>\u30e9\u30f3\u306b\u95a2\u9023\u4ed8\u3051\u308b<strong>\u8a2d\u5b9a ID<\/strong><span>\u00a0<\/span>\u306e\u30ab\u30f3\u30de\u533a\u5207\u308a\u306e\u30ea\u30b9\u30c8 (\u4f8b: OS\u3001\u30d6\u30e9\u30a6\u30b6\u30fc)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--milestone-id<\/code><\/td>\n<td>\u30e9\u30f3\u3092\u95a2\u9023\u4ed8\u3051\u308b\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u306e ID (\u4f8b: &#8220;Sprint 14 &#8220;\u3001&#8221;Release 2.1&#8221;)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--section-id<\/code><\/td>\n<td><strong>\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9<\/strong>\u3092\u4f5c\u6210\u3059\u308b\u30bb\u30af\u30b7\u30e7\u30f3 (\u8a72\u5f53\u3059\u308b\u5834\u5408)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-description<\/code><\/td>\n<td>\u30c6\u30b9\u30c8\u30e9\u30f3\u306b<strong>\u8aac\u660e\u3084\u30e1\u30e2<\/strong>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u7406\u89e3\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--case-fields<\/code><\/td>\n<td><strong>\u65b0\u3057\u304f\u4f5c\u6210\u3055\u308c\u305f\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30fc\u30eb\u30c9\u5024<\/strong><span>\u00a0<\/span>(\u30bf\u30a4\u30d7\u3001\u512a\u5148\u5ea6\u306a\u3069) \u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4f7f\u7528\u65b9\u6cd5:<span>\u00a0<\/span><code class=\"inline-code\">--case-fields priority_id:3<\/code><\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--result-fields<\/code><\/td>\n<td><strong>\u5404\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30fc\u30eb\u30c9\u5024<\/strong>\u3092\u8a2d\u5b9a\u3057\u307e\u3059 (\u30c6\u30b9\u30c8\u74b0\u5883\u3001\u6ce8\u610f\u306a\u3069)\u4f7f\u7528\u65b9\u6cd5:<span>\u00a0<\/span><code class=\"inline-code\">--result-fields custom_status:passed<\/code><\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--allow-ms<\/code><\/td>\n<td>\u30ec\u30dd\u30fc\u30c8\u3067\u7d4c\u904e\u6642\u9593\u306b<strong>\u30df\u30ea\u79d2<\/strong><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--special-parser<\/code><\/td>\n<td>\u975e\u6a19\u6e96\u306e JUnit \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5bfe\u3057\u3066<strong>\u30ab\u30b9\u30bf\u30e0\u89e3\u6790\u30ed\u30b8\u30c3\u30af<\/strong>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--help<\/code><\/td>\n<td>\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u8868\u793a\u3057\u3066\u7d42\u4e86\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h3 id=\"h_01K1TT022F8G2CEZ113J8K9F5E\">\u30d2\u30f3\u30c8<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u3059\u3067\u306b<span>\u00a0<\/span><code class=\"inline-code\">add_run<\/code>\u3092\u4f7f\u7528\u3057\u3066\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u6e08\u307f\u306e\u5834\u5408\u306f\u3001<code class=\"inline-code\">--run-id<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u91cd\u8907\u3092\u907f\u3051\u3001\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u7d50\u679c\u3092\u30ea\u30f3\u30af\u3059\u308b\u306b\u306f<span>\u00a0<\/span><code class=\"inline-code\">--case-matcher<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c6\u30b9\u30c8 \u30de\u30c8\u30ea\u30c3\u30af\u30b9 (\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u30d6\u30e9\u30a6\u30b6\u30fc\u306e\u7d44\u307f\u5408\u308f\u305b\u306a\u3069) \u3092\u7ba1\u7406\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001<code class=\"inline-code\">--plan-id<\/code><span>\u00a0<\/span>\u3068<span>\u00a0<\/span><code class=\"inline-code\">--config-ids<\/code><span>\u00a0<\/span>\u3092\u7d44\u307f\u5408\u308f\u305b\u307e\u3059\u3002<\/li>\n<li><code class=\"inline-code\">--result-fields<\/code><span>\u00a0<\/span>\u306f\u3001\u30d3\u30eb\u30c9 \u30d0\u30fc\u30b8\u30e7\u30f3\u3084\u6b20\u9665\u30ea\u30f3\u30af\u306e\u3088\u3046\u306a\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"h_01K1JZ2XYAVBXZ9DBJB2ZTER6M\">OpenAPI \u4ed5\u69d8\u304b\u3089\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u751f\u6210\u3059\u308b<\/h2>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001OpenAPI (\u65e7 Swagger) \u306e\u4ed5\u69d8\u306b\u57fa\u3065\u3044\u3066\u3001TestRail \u306b\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u81ea\u52d5\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001REST API \u306e\u30c6\u30b9\u30c8 \u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u3059\u3070\u3084\u304f\u9054\u6210\u3059\u308b\u306e\u306b\u7406\u60f3\u7684\u3067\u3059\u3002<\/p>\n<p>\u5229\u7528\u306b\u9069\u3057\u305f\u30b1\u30fc\u30b9:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u65b0\u3057\u3044 API \u3092\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u969b\u306b\u3001\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306e\u4f5c\u6210\u3092\u81ea\u52d5\u3067\u884c\u3044\u305f\u3044\u3002<\/li>\n<li>\u4ed5\u69d8\u30d5\u30a1\u30a4\u30eb\u306b\u57fa\u3065\u3044\u3066\u3001\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8 (GET\/POST\/\u305d\u306e\u4ed6) \u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u69cb\u9020\u5316\u3057\u305f\u3044\u3002<\/li>\n<li>API \u8a2d\u8a08\u306b\u5408\u308f\u305b\u3066\u30c6\u30b9\u30c8 \u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u9054\u6210\u3057\u305f\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"h_01K1JZ2XYFFJ8NMZ3BZVAGKQ8W\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u4f8b<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">trcli parse_openapi \\\n  -f specs\/user-api.yaml \\\n  --suite-id 5 \\\n  --case-fields type_id:1 \\\n  --case-fields priority_id:3<\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001<code class=\"inline-code\">user-api.yaml<\/code><span>\u00a0<\/span>\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30b9\u30a4\u30fc\u30c8 ID<span>\u00a0<\/span><code class=\"inline-code\">5<\/code>\u306b\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u751f\u6210\u3057\u3001\u5404\u65b0\u898f\u30b1\u30fc\u30b9\u306b\u30bf\u30a4\u30d7\u3068\u512a\u5148\u5ea6\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"h_01K1JZ2XYJ8ZZ68YWQ0XF70MZR\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u5229\u7528\u53ef\u80fd\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">TestRail CLI v1.1X.X\nCopyright 2025 Gurock Software GmbH - www.gurock.com\nUsage: trcli parse_openapi [OPTIONS]\n\n  Parse OpenAPI spec and create cases in TestRail\n\nOptions:\n  -f, --file      Filename and path.\n  --suite-id      Suite ID to create the tests in (if project is multi-suite).\n                  [x&gt;=1]\n  --case-fields   List of case fields and values for new test cases creation.\n                  Usage: --case-fields type_id:1 --case-fields priority_id:3\n  --help          Show this message and exit.\n<\/pre>\n<figure class=\"wysiwyg-table wysiwyg-table-align-left\">\n<table class=\"table--hover wysiwyg-table-resized\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code\">-f, --file<\/code><\/td>\n<td><strong>OpenAPI \u306e YAML \u307e\u305f\u306f JSON \u30d5\u30a1\u30a4\u30eb<\/strong><span>\u00a0<\/span>\u3078\u306e\u30d1\u30b9 (\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">api-spec.yaml<\/code>)\u3002\u5fc5\u9808<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--suite-id<\/code><\/td>\n<td>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u30b9\u30a4\u30fc\u30c8 ID\u3002<strong>\u30de\u30eb\u30c1 \u30b9\u30a4\u30fc\u30c8 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/strong>\u306e\u5834\u5408\u306f\u5fc5\u9808\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--case-fields<\/code><\/td>\n<td>\u5404\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306b\u9069\u7528\u3059\u308b 1 \u3064\u4ee5\u4e0a\u306e<strong>\u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30fc\u30eb\u30c9\u5024<\/strong>\u3002\u6b21\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059:<span>\u00a0<\/span><code class=\"inline-code\">field_id:value<\/code>\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7e70\u308a\u8fd4\u3057\u3066\u8907\u6570\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--help<\/code><\/td>\n<td>\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u8868\u793a\u3057\u3066\u7d42\u4e86\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h3 id=\"h_01K1TRKVQJJQAGHWPRD5XJFF1J\">\u30d2\u30f3\u30c8<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30b1\u30fc\u30b9\u306b\u30c6\u30b9\u30c8 \u30bf\u30a4\u30d7\u3001\u81ea\u52d5\u5316\u30b9\u30c6\u30fc\u30bf\u30b9\u3001\u307e\u305f\u306f\u512a\u5148\u5ea6\u306e\u30bf\u30b0\u3092\u4ed8\u3051\u308b\u306b\u306f\u3001<code class=\"inline-code\">--case-fields<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u5358\u4e00\u306e\u30b9\u30a4\u30fc\u30c8\u3057\u304b\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u3001<code class=\"inline-code\">--suite-id<\/code><span>\u00a0<\/span>\u3092\u7701\u7565\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u751f\u6210\u3055\u308c\u305f\u30b1\u30fc\u30b9\u306f\u3001TestRail \u306e\u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30b1\u30fc\u30b9 \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u8a2d\u5b9a\u306b\u5f93\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"h_01K1JZ2XYKDQXQAR2JCVBN757E\">Robot Framework \u306e\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p><strong>Robot Framework \u306e\u30c6\u30b9\u30c8\u5b9f\u884c<\/strong>\u7d50\u679c (\u901a\u5e38\u306f<span>\u00a0<\/span><code class=\"inline-code\">output.xml<\/code><span>\u00a0<\/span>\u30d5\u30a1\u30a4\u30eb) \u3092 TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u7528\u3059\u308b\u3079\u304d\u30b1\u30fc\u30b9<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u306b Robot Framework \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b<\/li>\n<li>\u7d50\u679c\u3092\u81ea\u52d5\u7684\u306b TestRail \u306b\u53cd\u6620\u3055\u305b\u305f\u3044\u5834\u5408<\/li>\n<li>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u81ea\u52d5\u4f5c\u6210\u3057\u305f\u3044\u3001\u307e\u305f\u306f\u7d50\u679c\u3092\u65e2\u5b58\u306e\u30e9\u30f3\/\u8a08\u753b\u306b\u30ea\u30f3\u30af\u3057\u305f\u3044<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"h_01K1TRRC39VKJKGWY7FQZP3EBN\" class=\"\">\u4f8b<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">trcli parse_robot \\\n  -f output.xml \\\n  --project \"Hardware QA\" \\\n  --suite-name \"Peripheral Tests\" \\\n  --title \"Regression - Aug 1\" \\\n  --milestone-id 12 \\\n  --close-run \\\n  --case-matcher title<\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f<span>\u00a0<\/span><code class=\"inline-code\">output.xml<\/code><span>\u00a0<\/span>\u304b\u3089\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u300cPeripheral Tests\u300d\u30b9\u30a4\u30fc\u30c8\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u3001\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3\u306b\u30ea\u30f3\u30af\u3057\u3001\u30bf\u30a4\u30c8\u30eb\u3067\u30b1\u30fc\u30b9\u3092\u30de\u30c3\u30c1\u3055\u305b\u3001\u305d\u306e\u5f8c\u30e9\u30f3\u3092\u9589\u3058\u307e\u3059\u3002<\/p>\n<h3 id=\"h_01K1JZ2XYNVCEBK3GXVTW7F975\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u5229\u7528\u53ef\u80fd\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">TestRail CLI v1.1X.X\nCopyright 2025 Gurock Software GmbH - www.gurock.com\nUsage: trcli parse_robot [OPTIONS]\n\n  Parse Robot Framework report and upload results to TestRail\n\nOptions:\n  -f, --file          Filename and path.\n  --close-run         Close the newly created run\n  --title             Title of Test Run to be created or updated in TestRail.\n  --case-matcher      Mechanism to match cases between the report and\n                      TestRail.\n  --suite-id          Suite ID to submit results to.  [x&gt;=1]\n  --suite-name        Suite name to submit results to.\n  --run-id            Run ID for the results they are reporting (otherwise the\n                      tool will attempt to create a new run).  [x&gt;=1]\n  --plan-id           Plan ID with which the Test Run will be associated.\n                      [x&gt;=1]\n  --config-ids        Comma-separated configuration IDs to use along with Test\n                      Plans (i.e.: 34,52).\n  --milestone-id      Milestone ID to which the Test Run should be associated\n                      to.  [x&gt;=1]\n  --section-id        Section ID to create new sections with test cases under\n                      (optional).  [x&gt;=1]\n  --run-description   Summary text to be added to the test run.\n  --case-fields       List of case fields and values for new test cases\n                      creation. Usage: --case-fields type_id:1 --case-fields\n                      priority_id:3\n  --result-fields     List of result fields and values for test results\n                      creation. Usage: --result-fields custom_field_a:value1\n                      --result-fields custom_field_b:3\n  --allow-ms          Allows using milliseconds for elapsed times.\n  --help              Show this message and exit.<\/pre>\n<figure class=\"wysiwyg-table wysiwyg-table-align-left\">\n<table class=\"table--hover wysiwyg-table-resized\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code\">-f, --file<\/code><\/td>\n<td><strong>Robot Framework \u306e XML \u7d50\u679c\u30d5\u30a1\u30a4\u30eb<\/strong><span>\u00a0<\/span>\u3078\u306e\u30d1\u30b9 (\u901a\u5e38\u306f<span>\u00a0<\/span><code class=\"inline-code\">output.xml<\/code>)\u3002\u5fc5\u9808<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--close-run<\/code><\/td>\n<td>\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u5f8c\u306b<strong>\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u30af\u30ed\u30fc\u30ba<\/strong>\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--title<\/code><\/td>\n<td><strong>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u30bf\u30a4\u30c8\u30eb<\/strong><span>\u00a0<\/span>(TestRail \u306b\u8868\u793a\u3055\u308c\u307e\u3059)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--case-matcher<\/code><\/td>\n<td>TestRail\u3067<strong>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u30de\u30c3\u30c1\u3055\u305b\u308b\u65b9\u6cd5<\/strong><span>\u00a0<\/span>(\u30bf\u30a4\u30c8\u30eb\u3001ID \u306a\u3069) \u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--suite-id<\/code><\/td>\n<td>\u7d50\u679c\u3092\u767b\u9332\u3059\u308b\u30b9\u30a4\u30fc\u30c8\u306e ID\u3002<strong>\u30de\u30eb\u30c1 \u30b9\u30a4\u30fc\u30c8 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/strong>\u306e\u5834\u5408\u306f\u5fc5\u9808\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--suite-name<\/code><\/td>\n<td>\u30b9\u30a4\u30fc\u30c8\u540d\u3002<code class=\"inline-code\">--suite-id<\/code>\u306e\u4ee3\u66ff\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-id<\/code><\/td>\n<td>\u66f4\u65b0\u3059\u308b<span>\u00a0<\/span><strong>\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3<\/strong><span>\u00a0<\/span>\u306eID\u3002\u7701\u7565\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u65b0\u3057\u3044\u30e9\u30f3\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--plan-id<\/code><\/td>\n<td>\u30e9\u30f3\u3092<strong>\u30c6\u30b9\u30c8\u8a08\u753b<\/strong>\u306b\u30ea\u30f3\u30af\u3057\u307e\u3059 (\u30aa\u30d7\u30b7\u30e7\u30f3)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--config-ids<\/code><\/td>\n<td>\u30ab\u30f3\u30de\u3067\u533a\u5207\u3089\u308c\u305f<strong>\u8a2d\u5b9a ID<\/strong><span>\u00a0<\/span>(\u4f8b: Chrome\/Linux \u306e\u3088\u3046\u306a\u74b0\u5883)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--milestone-id<\/code><\/td>\n<td>\u30e9\u30f3\u3092<strong>\u30de\u30a4\u30eb\u30b9\u30c8\u30fc\u30f3 ID<\/strong><span>\u00a0<\/span>(\u30b9\u30d7\u30ea\u30f3\u30c8\u3084\u30ea\u30ea\u30fc\u30b9\u306a\u3069) \u306b\u30ea\u30f3\u30af\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--section-id<\/code><\/td>\n<td>\u6307\u5b9a\u3055\u308c\u305f<strong>\u30bb\u30af\u30b7\u30e7\u30f3 ID<\/strong><span>\u00a0<\/span>\u306e\u4e0b\u306b\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059 (\u69cb\u9020\u5316\u306b\u5f79\u7acb\u3061\u307e\u3059)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--run-description<\/code><\/td>\n<td>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306b<strong>\u6982\u8981\u307e\u305f\u306f\u30e1\u30e2<\/strong>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--case-fields<\/code><\/td>\n<td>\u30bf\u30a4\u30d7\u3084\u512a\u5148\u5ea6\u306a\u3069\u306e<strong>\u65b0\u898f\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u5024<\/strong>\u3092\u8a2d\u5b9a\u3057\u307e\u3059 (\u4f8b:<span>\u00a0<\/span><code class=\"inline-code\">type_id:1<\/code>)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--result-fields<\/code><\/td>\n<td>\u30ab\u30b9\u30bf\u30e0 \u30b9\u30c6\u30fc\u30bf\u30b9\u3001\u671f\u9593\u3001\u30e1\u30e2\u306a\u3069\u306e<strong>\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u5024<\/strong>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--allow-ms<\/code><\/td>\n<td>\u7d99\u7d9a\u6642\u9593\u3092<strong>\u30df\u30ea\u79d2<\/strong>\u5358\u4f4d\u3067\u5831\u544a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059 (\u6b63\u78ba\u306a\u6642\u9593\u8abf\u6574\u306b\u5f79\u7acb\u3061\u307e\u3059)\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code\">--help<\/code><\/td>\n<td>\u30b3\u30de\u30f3\u30c9\u306e\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3057\u3066\u7d42\u4e86\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h3 id=\"h_01K1TRVJYP6AEQ1V2JC2REPM4C\" class=\"ip-location-block-dropup ip-location-block-dropdown\">\u30d2\u30f3\u30c8<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u91cd\u8907\u3059\u308b\u30b1\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3092\u9632\u3050\u306b\u306f\u3001<code class=\"inline-code\">--case-matcher<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30c6\u30b9\u30c8\u8a08\u753b\u304a\u3088\u3073\u69cb\u6210<\/strong>\u3068\u7d71\u5408\u3059\u308b\u5834\u5408\u3001<span>\u00a0<\/span><code class=\"inline-code\">--plan-id<\/code><span>\u00a0<\/span>\u3068<span>\u00a0<\/span><code class=\"inline-code\">--config-ids<\/code><span>\u00a0<\/span>\u3092\u7d44\u307f\u5408\u308f\u305b\u307e\u3059\u3002<\/li>\n<li><code class=\"inline-code\">add_run<\/code>\u3067\u4e8b\u524d\u306b\u4f5c\u6210\u3057\u305f\u30e9\u30f3\u3092\u66f4\u65b0\u3059\u308b\u306b\u306f<span>\u00a0<\/span><code class=\"inline-code\">--run-id<\/code><span>\u00a0<\/span>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"h_01K1JZ2XYR5H3G5V6TJJJW020A\">GitHub Actions \u3067\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p>\u3053\u306e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306f\u3001JUnit \u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001TRCLI \u3092\u4f7f\u7528\u3057\u3066\u7d50\u679c\u3092 TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">name: Run and Upload Tests\n\non: [push, pull_request]\n\njobs:\n  test-and-upload:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions\/checkout@v3\n\n      - name: Set up Java\n        uses: actions\/setup-java@v3\n        with:\n          java-version: '17'\n\n      - name: Run JUnit tests\n        run: |\n          .\/gradlew test\n\n      - name: Install TRCLI\n        run: |\n          curl -L https:\/\/testrail.com\/downloads\/trcli\/latest -o trcli.zip\n          unzip trcli.zip -d trcli\n          chmod +x trcli\/trcli\n          sudo mv trcli\/trcli \/usr\/local\/bin\/trcli\n\n      - name: Upload results to TestRail\n        run: |\n          trcli parse_junit \\\n            -f build\/test-results\/test\/TEST-results.xml \\\n            --project \"WebApp\" \\\n            --title \"CI Smoke - ${{ github.sha }}\" \\\n            --milestone-id 12 \\\n            --close-run \\\n            --case-matcher title \\\n            --key ${{ secrets.TESTRAIL_API_KEY }} \\\n            --username ${{ secrets.TESTRAIL_USER }} \\\n            --host ${{ secrets.TESTRAIL_HOST }}<\/pre>\n<h3>\u6ce8\u610f\uff1a<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30d5\u30a1\u30a4\u30eb \u30d1\u30b9\u3092\u5b9f\u969b\u306e\u30c6\u30b9\u30c8 \u30ec\u30dd\u30fc\u30c8\u306e\u5834\u6240\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u3001GitHub Secrets \u306b\u8a8d\u8a3c\u60c5\u5831\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u81ea\u52d5\u4f5c\u6210\u3057\u305f\u3044\u5834\u5408\u306f<span>\u00a0<\/span><code class=\"inline-code\">--yes<\/code><span>\u00a0<\/span>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div><\/div>\n<h2 id=\"h_01K1JXF5NYFRTAWRXBRKSRAT4D\">\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"\/test-automation\/testrail-cli\/overview-and-installation\/\" target=\"_blank\" rel=\"noopener noreferrer\">TRCLI \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/gurock\/testrail-cli\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub: testrail-cli<\/a><\/li>\n<li><a href=\"\/\" target=\"_blank\" rel=\"noopener noreferrer\">TestRail \u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u30de\u30cb\u30e5\u30a2\u30eb<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5168\u822c TRCLI \u306f\u3001\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210\u3001\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u5916\u90e8\u30ec\u30dd\u30fc\u30c8\u304b\u3089\u306e\u30b1\u30fc\u30b9\u306e\u751f\u6210\u306a\u3069\u306e TestRail \u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u81ea\u52d5\u5316\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3 \u30c4\u30fc\u30eb\u3067\u3059\u3002 \u7528\u9014\u306e\u4f8b \u30ed\u30fc\u30ab\u30eb \u30b9\u30af\u30ea\u30d7\u30c8\u307e\u305f\u306f CI\/CD [&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-24215","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24215","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=24215"}],"version-history":[{"count":17,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24215\/revisions"}],"predecessor-version":[{"id":29517,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24215\/revisions\/29517"}],"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=24215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}