From bb109aa10e031dc530064641d1357634319baee3 Mon Sep 17 00:00:00 2001
From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com>
Date: Sat, 5 Sep 2026 07:27:57 +0000
Subject: [PATCH 1/3] docs: document revisiting saved mint test runs
---
cli/commands.mdx | 8 ++++++++
es/cli/commands.mdx | 10 ++++++++++
fr/cli/commands.mdx | 10 ++++++++++
zh/cli/commands.mdx | 10 ++++++++++
4 files changed, 38 insertions(+)
diff --git a/cli/commands.mdx b/cli/commands.mdx
index 5fec8c071..67b1aade4 100644
--- a/cli/commands.mdx
+++ b/cli/commands.mdx
@@ -571,6 +571,14 @@ Only pages in your `docs.json` navigation appear for selection.
/>
+### Revisit a previous run
+
+`mint test` saves a report for each completed run. When a saved report exists, the next interactive run starts with options for it:
+
+- **Update tests**: Rerun the same pages with the same agent and model.
+- **Review last test run**: Browse the saved results without running anything.
+- **Start a brand new test**: Select an agent and pages from scratch.
+
### Output
The `mint test` command writes to two locations in your project:
diff --git a/es/cli/commands.mdx b/es/cli/commands.mdx
index 0bb4b4f87..5bc4b6646 100644
--- a/es/cli/commands.mdx
+++ b/es/cli/commands.mdx
@@ -639,6 +639,16 @@ Solo las páginas incluidas en la navegación de tu `docs.json` aparecen para su
/>
+
+ ### Volver a una ejecución anterior
+
+
+`mint test` guarda un informe de cada ejecución completada. Cuando existe un informe guardado, la siguiente ejecución interactiva comienza con opciones para esa ejecución:
+
+- **Update tests**: vuelve a ejecutar las mismas páginas con el mismo agente y modelo.
+- **Review last test run**: consulta los resultados guardados sin ejecutar nada.
+- **Start a brand new test**: selecciona un agente y páginas desde cero.
+
### Salida
diff --git a/fr/cli/commands.mdx b/fr/cli/commands.mdx
index 645cd5fe7..dd579c662 100644
--- a/fr/cli/commands.mdx
+++ b/fr/cli/commands.mdx
@@ -641,6 +641,16 @@ Seules les pages présentes dans la navigation de votre `docs.json` apparaissent
/>
+
+ ### Revenir à une exécution précédente
+
+
+`mint test` enregistre un rapport pour chaque exécution terminée. Lorsqu'un rapport enregistré existe, la prochaine exécution interactive commence par des options pour cette exécution :
+
+- **Update tests** : réexécute les mêmes pages avec le même agent et le même modèle.
+- **Review last test run** : consultez les résultats enregistrés sans rien exécuter.
+- **Start a brand new test** : sélectionnez un agent et des pages depuis le début.
+
### Sortie
diff --git a/zh/cli/commands.mdx b/zh/cli/commands.mdx
index f53c3578a..56ab9fb24 100644
--- a/zh/cli/commands.mdx
+++ b/zh/cli/commands.mdx
@@ -641,6 +641,16 @@ mint test
/>
+
+ ### 回顾上一次运行
+
+
+`mint test` 会为每次完成的运行保存报告。如果存在已保存的报告,下一次交互式运行会先显示针对该运行的选项:
+
+- **Update tests**:使用相同的代理和模型重新运行相同的页面。
+- **Review last test run**:查看已保存的结果,而不运行任何内容。
+- **Start a brand new test**:从头选择代理和页面。
+
### 输出
From ff75982d80058d8747f94b937d203ff1376a3bcc Mon Sep 17 00:00:00 2001
From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com>
Date: Sat, 5 Sep 2026 07:29:49 +0000
Subject: [PATCH 2/3] docs: shorten zh CLI reference description for SEO
---
zh/cli/commands.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zh/cli/commands.mdx b/zh/cli/commands.mdx
index 56ab9fb24..c72fb6d50 100644
--- a/zh/cli/commands.mdx
+++ b/zh/cli/commands.mdx
@@ -1,7 +1,7 @@
---
title: "Mintlify CLI 命令参考"
sidebarTitle: "命令参考"
-description: "Mintlify CLI 所有命令和选项的完整参考,涵盖 mint index、mint dev、mint validate 和 mint broken-links,并说明客户端选择、项目配置、MCP 规则及更多 CLI 工作流,帮助你完成日常文档开发以及部署前检查。"
+description: "Mintlify CLI 命令和选项的完整参考,涵盖 mint index、mint dev、mint validate、mint broken-links 等。"
keywords: ["CLI", "mint", "命令", "选项", "参考"]
boost: 3
---
From f21868c90f6d128622cb9af9f8493be409b85e23 Mon Sep 17 00:00:00 2001
From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com>
Date: Sat, 5 Sep 2026 07:34:15 +0000
Subject: [PATCH 3/3] docs: note mint test requires mint login authentication
---
cli/commands.mdx | 2 +-
es/cli/commands.mdx | 2 +-
fr/cli/commands.mdx | 2 +-
zh/cli/commands.mdx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cli/commands.mdx b/cli/commands.mdx
index 67b1aade4..6d97a6dd1 100644
--- a/cli/commands.mdx
+++ b/cli/commands.mdx
@@ -554,7 +554,7 @@ mint validate [flags]
## `mint test`
-Generate tests from your code samples in your documentation.
+Generate tests from your code samples in your documentation. Requires authentication with `mint login`.
```bash
mint test
diff --git a/es/cli/commands.mdx b/es/cli/commands.mdx
index 5bc4b6646..8d11ffc1c 100644
--- a/es/cli/commands.mdx
+++ b/es/cli/commands.mdx
@@ -622,7 +622,7 @@ mint validate [flags]
## `mint test`
-Genera pruebas a partir de los ejemplos de código de tu documentación.
+Genera pruebas a partir de los ejemplos de código de tu documentación. Requiere autenticación con `mint login`.
```bash
mint test
diff --git a/fr/cli/commands.mdx b/fr/cli/commands.mdx
index dd579c662..2a0ef6d2b 100644
--- a/fr/cli/commands.mdx
+++ b/fr/cli/commands.mdx
@@ -624,7 +624,7 @@ mint validate [flags]
## `mint test`
-Générez des tests à partir des exemples de code de votre documentation.
+Générez des tests à partir des exemples de code de votre documentation. Nécessite une authentification avec `mint login`.
```bash
mint test
diff --git a/zh/cli/commands.mdx b/zh/cli/commands.mdx
index c72fb6d50..4f8ffc6b9 100644
--- a/zh/cli/commands.mdx
+++ b/zh/cli/commands.mdx
@@ -624,7 +624,7 @@ mint validate [flags]
## `mint test`
-根据文档中的代码示例生成测试。
+根据文档中的代码示例生成测试。需要使用 `mint login` 进行身份验证。
```bash
mint test