minitest-cli 0.49.0__tar.gz → 0.50.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/.github/workflows/release.yml +1 -1
  2. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/PKG-INFO +37 -3
  3. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/README.md +36 -2
  4. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/pyproject.toml +1 -1
  5. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/SKILL.md +109 -93
  6. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/commands/schedules.md +6 -0
  7. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/batch.py +2 -19
  8. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/batch_helpers.py +6 -1
  9. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_commit.py +2 -2
  10. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/commit_helpers.py +4 -1
  11. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run.py +19 -41
  12. minitest_cli-0.50.0/src/minitest_cli/commands/run_all.py +60 -0
  13. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_asks_helpers.py +7 -2
  14. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_commit.py +24 -10
  15. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_commit_helpers.py +2 -16
  16. minitest_cli-0.50.0/src/minitest_cli/commands/run_commit_targets.py +60 -0
  17. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_display.py +15 -8
  18. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_tagged.py +2 -0
  19. minitest_cli-0.50.0/src/minitest_cli/commands/run_target_labels.py +23 -0
  20. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_targets.py +48 -21
  21. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_body.py +5 -0
  22. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_create.py +5 -0
  23. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_display.py +15 -3
  24. minitest_cli-0.50.0/src/minitest_cli/commands/schedules_targets.py +58 -0
  25. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_update.py +3 -0
  26. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_where.py +12 -4
  27. minitest_cli-0.50.0/src/minitest_cli/commands/target_errors.py +69 -0
  28. minitest_cli-0.50.0/src/minitest_cli/commands/target_rules.py +121 -0
  29. minitest_cli-0.50.0/src/minitest_cli/commands/target_spec.py +104 -0
  30. minitest_cli-0.50.0/src/minitest_cli/commands/target_summary.py +99 -0
  31. minitest_cli-0.50.0/src/minitest_cli/commands/targets_catalog.py +99 -0
  32. minitest_cli-0.50.0/src/minitest_cli/commands/targets_catalog_display.py +110 -0
  33. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_bindings.py +5 -3
  34. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/main.py +2 -0
  35. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/batch.py +9 -2
  36. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/build.py +1 -1
  37. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/story_run.py +3 -4
  38. minitest_cli-0.50.0/src/minitest_cli/models/target_labels.py +60 -0
  39. minitest_cli-0.50.0/src/minitest_cli/models/target_spec.py +43 -0
  40. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/targets.py +19 -12
  41. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_commit_commands.py +4 -1
  42. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_run_commands.py +8 -8
  43. minitest_cli-0.50.0/tests/test_run_target_spec.py +239 -0
  44. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_schedules_commands.py +55 -0
  45. minitest_cli-0.50.0/tests/test_target_results.py +84 -0
  46. minitest_cli-0.50.0/tests/test_targets_catalog.py +114 -0
  47. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/uv.lock +1 -1
  48. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/.env.example +0 -0
  49. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/.github/workflows/ci.yml +0 -0
  50. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/.github/workflows/install-scripts.yml +0 -0
  51. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/.gitignore +0 -0
  52. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/.opencode/skill/release/SKILL.md +0 -0
  53. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/AGENTS.md +0 -0
  54. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/RELEASE.md +0 -0
  55. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/install.ps1 +0 -0
  56. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/install.sh +0 -0
  57. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/pyrightconfig.json +0 -0
  58. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/renovate.json +0 -0
  59. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/scripts/check-dist-skill.py +0 -0
  60. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/scripts/sync-skill-references.py +0 -0
  61. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/README.md +0 -0
  62. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/commands/app-skills.md +0 -0
  63. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/commands/draft-features.md +0 -0
  64. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/commands/drafts.md +0 -0
  65. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/commands/knowledge.md +0 -0
  66. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/reference/index.json +0 -0
  67. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/reference/suite-schemas.md +0 -0
  68. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/skills/minitest-cli/reference/test-suite-design.md +0 -0
  69. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/__init__.py +0 -0
  70. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/api/__init__.py +0 -0
  71. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/api/apps_manager_client.py +0 -0
  72. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/api/client.py +0 -0
  73. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/api/errors.py +0 -0
  74. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/assets/__init__.py +0 -0
  75. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/assets/callback.html +0 -0
  76. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/__init__.py +0 -0
  77. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/_abi_mismatch.py +0 -0
  78. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/_response_errors.py +0 -0
  79. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_knowledge.py +0 -0
  80. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_knowledge_helpers.py +0 -0
  81. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_network_helpers.py +0 -0
  82. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_skill.py +0 -0
  83. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_skill_helpers.py +0 -0
  84. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_skill_secret.py +0 -0
  85. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/app_skill_write.py +0 -0
  86. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/apps.py +0 -0
  87. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/apps_dependencies.py +0 -0
  88. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/apps_get.py +0 -0
  89. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/apps_helpers.py +0 -0
  90. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/apps_table.py +0 -0
  91. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/auth.py +0 -0
  92. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/auth_api_key.py +0 -0
  93. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/backend_api.py +0 -0
  94. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/backend_api_helpers.py +0 -0
  95. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/batch_delete.py +0 -0
  96. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/batch_warnings.py +0 -0
  97. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build.py +0 -0
  98. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_bundle.py +0 -0
  99. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_conversion.py +0 -0
  100. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_fix_prompts.py +0 -0
  101. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_get.py +0 -0
  102. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_helpers.py +0 -0
  103. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/build_signing.py +0 -0
  104. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/capabilities.py +0 -0
  105. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/deprecated_alias.py +0 -0
  106. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft.py +0 -0
  107. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_asks.py +0 -0
  108. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_conversation.py +0 -0
  109. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_create.py +0 -0
  110. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_feature.py +0 -0
  111. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_feature_apply.py +0 -0
  112. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_feature_conflicts.py +0 -0
  113. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_feature_helpers.py +0 -0
  114. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_feature_show.py +0 -0
  115. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_helpers.py +0 -0
  116. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_legacy.py +0 -0
  117. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_lifecycle.py +0 -0
  118. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_pr.py +0 -0
  119. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_render.py +0 -0
  120. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_update.py +0 -0
  121. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/draft_watch.py +0 -0
  122. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/env.py +0 -0
  123. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/env_helpers.py +0 -0
  124. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/feedback_scope.py +0 -0
  125. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/flow_types.py +0 -0
  126. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/flow_types_helpers.py +0 -0
  127. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/flow_types_write.py +0 -0
  128. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/glossary.py +0 -0
  129. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/init.py +0 -0
  130. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/init_helpers.py +0 -0
  131. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/init_playbook.py +0 -0
  132. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues.py +0 -0
  133. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_fix.py +0 -0
  134. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_get.py +0 -0
  135. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_helpers.py +0 -0
  136. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_not_a_bug.py +0 -0
  137. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_projection.py +0 -0
  138. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_service.py +0 -0
  139. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_severity.py +0 -0
  140. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/issues_ticket.py +0 -0
  141. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/knowledge.py +0 -0
  142. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/knowledge_documents.py +0 -0
  143. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/knowledge_helpers.py +0 -0
  144. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/private_network.py +0 -0
  145. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/private_network_helpers.py +0 -0
  146. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/recording_timeline.py +0 -0
  147. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/reference.py +0 -0
  148. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/residential_proxy.py +0 -0
  149. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_asks.py +0 -0
  150. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_backend_override.py +0 -0
  151. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_cancel.py +0 -0
  152. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_feedback.py +0 -0
  153. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_helpers.py +0 -0
  154. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_list.py +0 -0
  155. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_logs.py +0 -0
  156. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_recording.py +0 -0
  157. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/run_recording_helpers.py +0 -0
  158. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules.py +0 -0
  159. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_helpers.py +0 -0
  160. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_history.py +0 -0
  161. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_options.py +0 -0
  162. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_scope.py +0 -0
  163. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/schedules_spec.py +0 -0
  164. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/screens.py +0 -0
  165. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/screens_detail.py +0 -0
  166. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/screens_format.py +0 -0
  167. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/screens_helpers.py +0 -0
  168. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/screens_tree.py +0 -0
  169. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret.py +0 -0
  170. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_create.py +0 -0
  171. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_extract.py +0 -0
  172. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_helpers.py +0 -0
  173. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_lint.py +0 -0
  174. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_manage.py +0 -0
  175. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_state.py +0 -0
  176. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/secret_value.py +0 -0
  177. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/skill.py +0 -0
  178. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/tags.py +0 -0
  179. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/tags_helpers.py +0 -0
  180. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_file.py +0 -0
  181. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_file_helpers.py +0 -0
  182. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_file_list.py +0 -0
  183. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile.py +0 -0
  184. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile_card.py +0 -0
  185. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile_default.py +0 -0
  186. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile_helpers.py +0 -0
  187. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile_list.py +0 -0
  188. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile_secret_refs.py +0 -0
  189. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/test_profile_update.py +0 -0
  190. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/upgrade.py +0 -0
  191. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/upgrade_auto.py +0 -0
  192. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story.py +0 -0
  193. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_app_skills.py +0 -0
  194. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_camera.py +0 -0
  195. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_create.py +0 -0
  196. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_criteria.py +0 -0
  197. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_criterion_edits.py +0 -0
  198. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_delete.py +0 -0
  199. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_device_count.py +0 -0
  200. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_helpers.py +0 -0
  201. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_iap.py +0 -0
  202. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_modify.py +0 -0
  203. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_overrides.py +0 -0
  204. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_profiles.py +0 -0
  205. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_setup_commit.py +0 -0
  206. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/user_story_update.py +0 -0
  207. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/verdicts.py +0 -0
  208. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/verdicts_helpers.py +0 -0
  209. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/commands/verdicts_projection.py +0 -0
  210. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/__init__.py +0 -0
  211. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/app_context.py +0 -0
  212. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/auth.py +0 -0
  213. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/config.py +0 -0
  214. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/credentials.py +0 -0
  215. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/oauth.py +0 -0
  216. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/tenants.py +0 -0
  217. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/core/token_exchange.py +0 -0
  218. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/__init__.py +0 -0
  219. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/app.py +0 -0
  220. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/app_env_vars.py +0 -0
  221. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/app_failure.py +0 -0
  222. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/app_screen.py +0 -0
  223. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/base.py +0 -0
  224. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/commit_build.py +0 -0
  225. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/draft_feature.py +0 -0
  226. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/flow_type.py +0 -0
  227. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/issues.py +0 -0
  228. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/lane_logs.py +0 -0
  229. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/recording.py +0 -0
  230. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/tag.py +0 -0
  231. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/models/user_story.py +0 -0
  232. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/__init__.py +0 -0
  233. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/auto_update.py +0 -0
  234. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/auto_update_notices.py +0 -0
  235. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/auto_update_state.py +0 -0
  236. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/auto_update_worker.py +0 -0
  237. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/concurrency.py +0 -0
  238. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/confirm.py +0 -0
  239. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/dependency_sim.py +0 -0
  240. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/mermaid.py +0 -0
  241. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/output.py +0 -0
  242. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/reference_docs.py +0 -0
  243. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/skill_bundle.py +0 -0
  244. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/skill_refresh.py +0 -0
  245. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/update_check.py +0 -0
  246. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/versions.py +0 -0
  247. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/src/minitest_cli/utils/video_frames.py +0 -0
  248. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/__init__.py +0 -0
  249. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/_backend_api_server.py +0 -0
  250. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/_commit_transport.py +0 -0
  251. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/_network_settings_server.py +0 -0
  252. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/_secret_router.py +0 -0
  253. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/conftest.py +0 -0
  254. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/draft_backend.py +0 -0
  255. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_api_client_auth.py +0 -0
  256. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_api_client_cookies.py +0 -0
  257. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_app_context.py +0 -0
  258. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_app_knowledge_commands.py +0 -0
  259. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_app_skill_commands.py +0 -0
  260. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_apps_commands.py +0 -0
  261. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_apps_dependencies.py +0 -0
  262. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_auth.py +0 -0
  263. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_auth_api_key.py +0 -0
  264. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_auth_commands.py +0 -0
  265. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_auto_update.py +0 -0
  266. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_auto_update_worker.py +0 -0
  267. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_backend_api_commands.py +0 -0
  268. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_backend_api_openapi_auth.py +0 -0
  269. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_batch_commands.py +0 -0
  270. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_build_bundle.py +0 -0
  271. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_build_commands.py +0 -0
  272. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_build_fix_prompts.py +0 -0
  273. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_build_get_command.py +0 -0
  274. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_capabilities_command.py +0 -0
  275. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_channel_header.py +0 -0
  276. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_code_quality.py +0 -0
  277. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_concurrency.py +0 -0
  278. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_config_defaults.py +0 -0
  279. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_deprecated_commands.py +0 -0
  280. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_deprecated_flags.py +0 -0
  281. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_draft_ask_commands.py +0 -0
  282. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_draft_commands.py +0 -0
  283. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_draft_conversation_commands.py +0 -0
  284. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_draft_feature_commands.py +0 -0
  285. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_draft_pr_commands.py +0 -0
  286. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_env.py +0 -0
  287. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_fanout_bounded.py +0 -0
  288. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_flow_types_commands.py +0 -0
  289. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_init_command.py +0 -0
  290. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_issues.py +0 -0
  291. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_issues_commands.py +0 -0
  292. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_issues_get_command.py +0 -0
  293. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_issues_triage_commands.py +0 -0
  294. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_knowledge_v2_commands.py +0 -0
  295. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_mermaid.py +0 -0
  296. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_native_device_types.py +0 -0
  297. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_network_errors.py +0 -0
  298. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_physical_devices.py +0 -0
  299. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_private_network_commands.py +0 -0
  300. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_recording_timeline.py +0 -0
  301. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_reference_command.py +0 -0
  302. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_residential_proxy_commands.py +0 -0
  303. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_response_errors.py +0 -0
  304. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_run_ask_commands.py +0 -0
  305. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_run_backend_override.py +0 -0
  306. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_run_cancel.py +0 -0
  307. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_run_frames_command.py +0 -0
  308. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_run_logs_command.py +0 -0
  309. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_screens_commands.py +0 -0
  310. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_secret_commands.py +0 -0
  311. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_secret_create.py +0 -0
  312. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_secret_lint_extract.py +0 -0
  313. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_skill_bundle.py +0 -0
  314. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_skill_command.py +0 -0
  315. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_suite_change_provenance.py +0 -0
  316. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_tags_commands.py +0 -0
  317. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_test_file_commands.py +0 -0
  318. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_test_profile_commands.py +0 -0
  319. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_test_profile_secret_refs.py +0 -0
  320. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_upgrade_auto_command.py +0 -0
  321. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_upgrade_command.py +0 -0
  322. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_user_story_bindings_commands.py +0 -0
  323. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_user_story_commands.py +0 -0
  324. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_user_story_in_app_purchases.py +0 -0
  325. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_user_story_setup_commit.py +0 -0
  326. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_verdicts.py +0 -0
  327. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_verdicts_actionable.py +0 -0
  328. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/test_version.py +0 -0
  329. {minitest_cli-0.49.0 → minitest_cli-0.50.0}/tests/triage_backend.py +0 -0
@@ -65,7 +65,7 @@ jobs:
65
65
  path: dist/
66
66
 
67
67
  - name: Publish to PyPI
68
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
68
+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
69
69
 
70
70
  github-release:
71
71
  needs: publish-pypi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: minitest-cli
3
- Version: 0.49.0
3
+ Version: 0.50.0
4
4
  Summary: Minitest CLI – command-line interface for the Minitest testing platform
5
5
  Project-URL: Homepage, https://minitap.ai/
6
6
  Project-URL: Source, https://github.com/minitap-ai/minitest-cli
@@ -151,10 +151,44 @@ The device-type options do not select an OS: `start`/`all` still need the
151
151
  corresponding build flag; `from-commit` uses `--platform` (or its existing iOS +
152
152
  Android default). An explicit device type, even `phone`, errors when that OS is
153
153
  not selected. These options do not apply to physical devices, web/mobile-web
154
- targets, or Edge. V1 supports one form factor per OS per run; run phone and
155
- tablet suites separately. Tablet results are labelled `iOS · Tablet` or
154
+ targets, or Edge. For several form factors or OS versions in one run, use
155
+ `--target` (below). Tablet results are labelled `iOS · Tablet` or
156
156
  `Android · Tablet`; phone labels stay unchanged.
157
157
 
158
+ ## Run targets: several devices, OS versions, browser versions
159
+
160
+ `run start`, `run all`, `run from-commit` and `schedules create|update|preview`
161
+ take a repeatable `--target` (or `--targets-file targets.json`, a JSON list of
162
+ objects with the same keys). Its value is comma-separated `key=value` pairs:
163
+
164
+ | Key | Values |
165
+ | --- | --- |
166
+ | `platform` | `ios`, `android`, `web` (required) |
167
+ | `backend` | `cloud` (default), `physical` |
168
+ | `device` | `phone` (default), `tablet`, `tv` (Android only) |
169
+ | `model` | an exact farm model, e.g. `iPhone 13` (needs `backend=physical`) |
170
+ | `os` | an OS version, e.g. `27` (`27.0` reads as `27`) |
171
+ | `browser` | `chrome`, `edge`, `firefox` |
172
+ | `version` | a browser major, e.g. `157` |
173
+ | `viewport` | `desktop`, `tablet`, `mobile` |
174
+ | `build` | a build id, overriding the lane's build (not on schedules) |
175
+
176
+ ```bash
177
+ minitest --app <app-id> targets catalog # what the workspace can ask for
178
+ minitest --app <app-id> run all --ios-build <id> --target platform=ios,os=26 --target platform=ios,os=27
179
+ minitest --app <app-id> run all --ios-build <device-build-id> --target "platform=ios,backend=physical,model=iPhone 13"
180
+ minitest --app <app-id> run all --target platform=web,browser=chrome,version=157,viewport=desktop
181
+ ```
182
+
183
+ Builds still come from `--ios-build` / `--android-build` or the commit. A
184
+ platform named by a `--target` gets exactly those targets (don't add its
185
+ `--*-device-type` / `--*-physical`); the other platforms keep the legacy flags.
186
+ Several devices on one platform, browser versions and Android TV depend on
187
+ your workspace: when one is off, the run is refused with a message that says
188
+ which. Results show one row per target (`iPhone 17 · iOS 27`,
189
+ `Chrome 157 · Desktop`) and one line per platform
190
+ (`iOS: critical · 1 critical · 2 warnings (2 targets)`).
191
+
158
192
  ## Physical devices
159
193
 
160
194
  By default builds run on virtual devices (iOS Simulator, Android emulator). If
@@ -117,10 +117,44 @@ The device-type options do not select an OS: `start`/`all` still need the
117
117
  corresponding build flag; `from-commit` uses `--platform` (or its existing iOS +
118
118
  Android default). An explicit device type, even `phone`, errors when that OS is
119
119
  not selected. These options do not apply to physical devices, web/mobile-web
120
- targets, or Edge. V1 supports one form factor per OS per run; run phone and
121
- tablet suites separately. Tablet results are labelled `iOS · Tablet` or
120
+ targets, or Edge. For several form factors or OS versions in one run, use
121
+ `--target` (below). Tablet results are labelled `iOS · Tablet` or
122
122
  `Android · Tablet`; phone labels stay unchanged.
123
123
 
124
+ ## Run targets: several devices, OS versions, browser versions
125
+
126
+ `run start`, `run all`, `run from-commit` and `schedules create|update|preview`
127
+ take a repeatable `--target` (or `--targets-file targets.json`, a JSON list of
128
+ objects with the same keys). Its value is comma-separated `key=value` pairs:
129
+
130
+ | Key | Values |
131
+ | --- | --- |
132
+ | `platform` | `ios`, `android`, `web` (required) |
133
+ | `backend` | `cloud` (default), `physical` |
134
+ | `device` | `phone` (default), `tablet`, `tv` (Android only) |
135
+ | `model` | an exact farm model, e.g. `iPhone 13` (needs `backend=physical`) |
136
+ | `os` | an OS version, e.g. `27` (`27.0` reads as `27`) |
137
+ | `browser` | `chrome`, `edge`, `firefox` |
138
+ | `version` | a browser major, e.g. `157` |
139
+ | `viewport` | `desktop`, `tablet`, `mobile` |
140
+ | `build` | a build id, overriding the lane's build (not on schedules) |
141
+
142
+ ```bash
143
+ minitest --app <app-id> targets catalog # what the workspace can ask for
144
+ minitest --app <app-id> run all --ios-build <id> --target platform=ios,os=26 --target platform=ios,os=27
145
+ minitest --app <app-id> run all --ios-build <device-build-id> --target "platform=ios,backend=physical,model=iPhone 13"
146
+ minitest --app <app-id> run all --target platform=web,browser=chrome,version=157,viewport=desktop
147
+ ```
148
+
149
+ Builds still come from `--ios-build` / `--android-build` or the commit. A
150
+ platform named by a `--target` gets exactly those targets (don't add its
151
+ `--*-device-type` / `--*-physical`); the other platforms keep the legacy flags.
152
+ Several devices on one platform, browser versions and Android TV depend on
153
+ your workspace: when one is off, the run is refused with a message that says
154
+ which. Results show one row per target (`iPhone 17 · iOS 27`,
155
+ `Chrome 157 · Desktop`) and one line per platform
156
+ (`iOS: critical · 1 critical · 2 warnings (2 targets)`).
157
+
124
158
  ## Physical devices
125
159
 
126
160
  By default builds run on virtual devices (iOS Simulator, Android emulator). If
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "minitest-cli"
3
- version = "0.49.0"
3
+ version = "0.50.0"
4
4
  description = "Minitest CLI – command-line interface for the Minitest testing platform"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -7,15 +7,15 @@ description: >
7
7
  manage native builds via the command line. Also use after any code change that
8
8
  affects UI, navigation, or user journeys to check if existing tests need
9
9
  to be updated.
10
- metadata:
11
- cli-version: "0.47.0"
12
10
  ---
13
11
 
14
12
  # Minitest CLI
15
13
 
16
14
  `minitest` is a command-line tool for automated mobile and web app testing. For
17
- native apps it runs on virtual devices (simulators & emulators); for web apps it
18
- runs browser-based targets configured on the app. An AI agent analyses the app
15
+ native apps it runs on cloud simulators and emulators, or on physical phones
16
+ when the workspace has them (`build upload --physical`, then `run start
17
+ --ios-physical` / `--android-physical`); for web apps it runs browser-based
18
+ targets configured on the app. An AI agent analyses the app
19
19
  screen and verifies acceptance criteria you define. You manage everything through
20
20
  the CLI: scenarios, native builds, web lanes, runs, batches, and results.
21
21
 
@@ -54,7 +54,7 @@ both are set. Commands that are tenant-scoped rather than app-scoped (`apps`,
54
54
  `--json` is still harmless on these, but their payload is markdown or a raw
55
55
  value by design:
56
56
 
57
- - `minitest init --agent`, `minitest maintenance --agent`, `minitest skill` —
57
+ - `minitest init --agent`, `minitest skill` —
58
58
  print playbook markdown for the agent to read.
59
59
  - `minitest --app $APP env get <KEY>` — prints the raw value verbatim **only
60
60
  without** `--json`; with `--json` it returns `{"KEY": "value"}`. Use the
@@ -149,72 +149,14 @@ the file that matches with `minitest scenario-binding set-files`, and only
149
149
  `minitest test-file upload` a file nobody has provided yet. Bound files are
150
150
  the only ones the run places on the device; an unbound test file is never used.
151
151
 
152
- ## Maintaining existing tests (`minitest maintenance`)
152
+ ## Keeping tests current after a code change
153
153
 
154
- Use `minitest maintenance` when the app UI/code changed and the customer wants
155
- their Minitest scenarios updated without sharing GitHub/code with Minitap.
156
- Run it from the app repository. The customer's own coding agent reads local code;
157
- the CLI sends only proposed test-flow edits and an opaque local HEAD SHA.
158
-
159
- ```bash
160
- # Fetch the server-composed maintenance brain (same rules as cloud maintenance)
161
- minitest maintenance --agent
162
-
163
- # First agent step: opens a maintenance run and returns context as JSON
164
- minitest --json maintenance context
165
- ```
166
-
167
- The `context` output includes:
168
-
169
- - `mode`: `audit` on the first run, `incremental` after a watermark exists
170
- - `fromSha`: null in audit mode; diff baseline in incremental mode
171
- - `headSha`: local HEAD SHA reported by the CLI
172
- - `context`: current stories, stable criterion ids, dependencies, app memory
173
- - `guardrail`: pending Release Queue count; warn the user before continuing when non-zero
174
-
175
- In incremental mode, inspect changes with `git diff <fromSha>..HEAD` locally.
176
- In audit mode, inspect the full current codebase against every active story.
177
-
178
- Post findings back through these mechanics-only commands:
179
-
180
- ```bash
181
- minitest --json maintenance affected --file affected.json
182
- minitest --json maintenance change --file change.json
183
- minitest --json maintenance divergence --file divergence.json
184
- minitest --json maintenance status --phase triage --message "Mapped affected stories" --progress 40
185
- minitest --json maintenance complete --changed # or --no-changed when nothing changed
186
- ```
187
-
188
- > `maintenance status`, `complete`, and `apply` print nothing on stdout under
189
- > `--json` — judge them by their exit code (0 = accepted), or drop `--json` to
190
- > read the human confirmation.
191
-
192
- The exact JSON fields for `affected.json`, `change.json`, and `divergence.json`
193
- are specified by the maintenance brain fetched via `minitest maintenance --agent`;
194
- follow that contract rather than inventing field names — the endpoint currently
195
- returns a 500 for some tenants, and without it the payload shapes cannot be guessed
196
- (the API rejects invented fields). `complete --changed` is
197
- what advances the watermark to the current HEAD, so the next run resolves to
198
- `incremental` mode; use `--no-changed` when nothing was edited.
199
-
200
- At the end, always show the user the Release Queue review link so they can inspect
201
- the proposed edits in the webapp, and offer to apply them right away — it is one
202
- flow, not two modes:
203
-
204
- ```bash
205
- minitest maintenance apply --review # prints the Release Queue link (no changes made)
206
- minitest maintenance apply # applies all pending edits now
207
- ```
208
-
209
- Leave `--json` off these two: they only ever print human text, and the review
210
- link is the whole point of `--review`.
211
-
212
- Present it as a single choice: surface the review link, then ask whether the user
213
- wants you to apply the edits now or review them manually through the link first.
214
- Auto-applying is simply the option they can pick, not a separate mode.
215
-
216
- Never ask the user to paste code or diffs into Minitap. The privacy contract is:
217
- local code stays local; proposed criteria/dependency edits are the only payload.
154
+ When the app's code changed and scenarios may be out of date, ask Mini for the
155
+ update: `minitest draft create --message "<what changed and where>"`. On an open
156
+ PR, `draft link-pr <id> <pr_number>` then `draft check <id>` proves the change on
157
+ the PR's head; merge it once checked. If you write the scenario changes
158
+ yourself, use a draft feature (`minitest df`) instead. See
159
+ [Drafts with Mini](#drafts-with-mini-minitest-draft).
218
160
 
219
161
  ## Authentication
220
162
 
@@ -434,11 +376,11 @@ or browser).
434
376
  > `user-story` and `user-story-binding`. The old names still work as hidden,
435
377
  > deprecated aliases (they print a warning on stderr; `--json` stdout is
436
378
  > unchanged), but always use `scenario`. If the CLI answers `No such command
437
- > 'scenario'`, it predates the rename: run `minitest upgrade`. Flags, JSON keys
438
- > and API fields keep their `story` names (`--user-story`, `userStoryId`,
439
- > `storyRuns`).
379
+ > 'scenario'`, it predates the rename: run `minitest upgrade`. JSON keys and API
380
+ > fields keep their `story` names (`userStoryId`, `storyRuns`); flags say
381
+ > `--scenario`.
440
382
 
441
- `--profile <profile_id>` is optional. If omitted, Minitest auto-assigns the app's default profile when one is configured.
383
+ `--profile <profile_id>` is optional and repeatable: a scenario can bind several test accounts (one per role it needs, e.g. a buyer and a seller on two devices). If omitted, Minitest binds the app's default test account, or "New user" when there is no default.
442
384
 
443
385
  ```bash
444
386
  minitest --json --app <app_id> scenario create \
@@ -510,7 +452,7 @@ A non-`@qa.minitap.ai` username with no password is rejected *unless* the profil
510
452
  **Bring-your-own account.** Only when the user supplies a real account they own (and the app needs a password) pass both, via stdin:
511
453
 
512
454
  ```bash
513
- printf "%s" "$PASSWORD" | `minitest --json --app $APP test-profile create \
455
+ printf "%s" "$PASSWORD" | minitest --json --app $APP test-profile create \
514
456
  --name "Pro User" --username "real-user@example.com" --password-stdin --about "..."
515
457
  ```
516
458
 
@@ -518,7 +460,7 @@ printf "%s" "$PASSWORD" | `minitest --json --app $APP test-profile create \
518
460
 
519
461
  **Credentials as secrets.** Instead of a literal password, OTP seed or card, a persona can point at an app secret: `--password-secret`, `--otp-secret`, `--card-secret` (generated, or still waiting for the user's value). See [Secrets](#secrets-minitest-secret).
520
462
 
521
- **No persona bound.** If a story has no profile, the agent defaults to anonymous (skip login). If a flow forces authentication, it self-generates a `<random>@qa.minitap.ai` with a runtime password, signs up, and reads the inbox for the confirmation/OTP code — so unbound scenarios still work without you provisioning anything.
463
+ **No persona bound.** A scenario created without a profile gets the app's default test account, or the system **"New user"** account when there is none (clearing the bindings also binds "New user"). As "New user" the agent proceeds anonymously where the app allows it. If a flow forces authentication, it self-generates a `<random>@qa.minitap.ai` with a runtime password, signs up, and reads the inbox for the confirmation/OTP code — so unbound scenarios still work without you provisioning anything.
522
464
 
523
465
  **Phone-OTP personas.** If the app authenticates via SMS one-time codes instead of email, set `--phone-number` (E.164, e.g. `+14155551234`) and `--static-otp-code` (the fixed code the customer's backend accepts for that number) instead of `--username`/`--password`:
524
466
 
@@ -631,7 +573,7 @@ produced. `scenario get` shows the recorded permission as
631
573
 
632
574
  #### Device count
633
575
 
634
- A story's **device count** is how many virtual devices a single run provisions.
576
+ A story's **device count** is how many devices a single run provisions.
635
577
  By default it is **auto**: one device per bound persona (minimum 1). Set an
636
578
  explicit override with `--device-count` on `scenario create` / `update`. The
637
579
  value is capped server-side at `min(3, tenant device quota)`.
@@ -914,8 +856,8 @@ and cannot be combined with `--*-device-type`. A workspace without physical
914
856
  devices gets exit 3 and a message saying so: tell the user to ask Minitap to
915
857
  enable them, don't retry.
916
858
 
917
- For a repo-connected app, queue a build directly from GitHub without starting
918
- tests:
859
+ For a repo-connected app (GitHub, GitLab or Bitbucket), queue a build directly
860
+ from the repository without starting tests:
919
861
 
920
862
  ```bash
921
863
  minitest --json --app <app_id> build from-commit [<full_sha>] \
@@ -978,8 +920,8 @@ Execute a scenario on native cloud phone/tablet lanes or the web lane. For nativ
978
920
  provide at least one of `--ios-build` or `--android-build`; single-platform apps
979
921
  may omit the other. For web-only runs, pass `--web` by itself; native and web
980
922
  lanes can also be combined. Web runs use the app's configured web URL and default web
981
- targets; there are no per-run `--web-url`, `--browser`, or `--viewport` overrides
982
- in the CLI.
923
+ targets; pick browsers, versions and viewports per run with `--target`
924
+ (below). There is no per-run `--web-url`.
983
925
 
984
926
  Native cloud lanes default to `phone`. On `run start` (including `--tag`),
985
927
  `run all`, and `run from-commit`, `--ios-device-type phone|tablet` and
@@ -990,8 +932,9 @@ existing iOS + Android default. An explicit device type (even `phone`) for a
990
932
  nonselected OS is an error. These options are native-cloud only, not for
991
933
  physical devices, web/mobile-web targets, or Edge.
992
934
 
993
- V1 supports **one form factor per OS per run**; run phones and tablets in separate
994
- batches rather than treating the option as a matrix. Tablet labels are
935
+ With the legacy flags a run has **one device per OS**. To pick the device, its OS
936
+ version, a farm model, a browser version, Android TV, or **several devices per
937
+ platform**, use `--target` (see "Run targets" below). Tablet labels are
995
938
  `iOS · Tablet` / `Android · Tablet`; phone labels remain `iOS` / `Android`.
996
939
  Per-run choices do not change app defaults. An iPhone-only build may run on iPad
997
940
  in compatibility mode (`tablet_iphone_compatibility_mode` warning); unknown
@@ -1000,6 +943,81 @@ blocks launch, and neither run establishes native tablet-layout coverage.
1000
943
  Surface the distinction and never claim native iPad support from a passing
1001
944
  compatibility-mode or unknown-metadata run.
1002
945
 
946
+ #### Run targets (`--target`, `--targets-file`)
947
+
948
+ `run start` (with scenarios or `--tag`), `run all` and `run from-commit` take a
949
+ repeatable `--target` whose value is comma-separated `key=value` pairs. The
950
+ same spec is read by the minitest-trigger GitHub Action's `targets:` input.
951
+
952
+ | Key | Values | Notes |
953
+ | --- | --- | --- |
954
+ | `platform` | `ios`, `android`, `web` | required |
955
+ | `backend` | `cloud` (default), `physical` | `physical` is native only |
956
+ | `device` | `phone` (default), `tablet`, `tv` | cloud only; `tv` is Android only |
957
+ | `model` | e.g. `iPhone 13` | needs `backend=physical`: one exact farm model |
958
+ | `os` | e.g. `27` (`27.0` is read as `27`) | cloud: a major from the catalog; physical: needs `model` |
959
+ | `browser` | `chrome`, `edge`, `firefox` | web only |
960
+ | `version` | browser major, e.g. `157` | web with `browser`, not on `viewport=mobile` |
961
+ | `viewport` | `desktop`, `tablet`, `mobile` | web only |
962
+ | `build` | a build id | overrides the lane's build |
963
+
964
+ ```bash
965
+ # What the workspace can ask for: cloud devices x OS, farm models (free now), browser majors
966
+ minitest --json --app <app_id> targets catalog
967
+
968
+ # iOS 26 and iOS 27 simulators on one build, plus Android from its usual flag
969
+ minitest --json --app <app_id> run all --ios-build <sim_build_id> --android-build <apk_id> \
970
+ --target platform=ios,os=26 --target platform=ios,os=27
971
+
972
+ # One exact farm iPhone with its device build
973
+ minitest --json --app <app_id> run start "User Login" --ios-build <device_build_id> \
974
+ --target "platform=ios,backend=physical,model=iPhone 13"
975
+
976
+ # Chrome 157 and 156 on desktop
977
+ minitest --json --app <app_id> run all \
978
+ --target platform=web,browser=chrome,version=157,viewport=desktop \
979
+ --target platform=web,browser=chrome,version=156,viewport=desktop
980
+
981
+ # From a commit: unpinned targets are built from the commit
982
+ minitest --json --app <app_id> run from-commit <full_sha> \
983
+ --target platform=ios,os=27 --target "platform=ios,backend=physical,model=iPhone 14"
984
+
985
+ # The same targets from a file: a JSON list of objects with the same keys
986
+ minitest --json --app <app_id> run all --ios-build <id> --targets-file targets.json
987
+ ```
988
+
989
+ Rules (checked before anything is sent, then again by the server):
990
+
991
+ - Native targets take their build from `--ios-build` / `--android-build` (or the
992
+ commit), unless they carry `build=`. Every cloud target of a platform installs
993
+ the same build, and so does every physical one.
994
+ - `--target platform=ios` replaces the legacy iOS lane: do not combine it with
995
+ `--ios-device-type` / `--ios-physical` (same for Android), and do not combine a
996
+ web `--target` with `--web`. Platforms no `--target` names keep the legacy flags.
997
+ - On `from-commit`, a target without `build=` is built from the commit; one with
998
+ `build=` must be on a platform the commit does not build. `--platform` defaults
999
+ to the platforms of the unpinned targets.
1000
+ - A TV app (`formFactor: tv`) runs every Android target on Android TV.
1001
+ - The same target listed twice is refused.
1002
+
1003
+ The server refuses, and the CLI explains (exit 3, never a traceback):
1004
+ several devices on one platform, or several versions of one browser, when the
1005
+ workspace does not have it (`run-targets-multi-device`); a browser `version` when
1006
+ browser versions are off; Android TV or tablets when they are off; an OS or a
1007
+ browser version the catalog does not offer. Pick values from `targets catalog`.
1008
+
1009
+ Results are per target: `batch get`, `run from-commit` and the batch summary of
1010
+ `run start --tag` / `run all` print one row per target, named as the webapp
1011
+ names it (`iPhone 17 · iOS 27`, `iPhone 13 · iOS 18.7`, `Chrome 157 · Desktop`,
1012
+ `Android TV`), plus one line per platform: `iOS: critical · 1 critical · 2 warnings
1013
+ (2 targets)`, the worst target winning (errored > critical > warning > passed >
1014
+ skipped). In `--json`, each entry of `targets` carries `targetId`, `label`,
1015
+ `platform`, `backend`, `deviceType`, `deviceModels`, `osVersion`,
1016
+ `ranDeviceModel`, `ranOsVersion`, `browser`, `viewport`,
1017
+ `browserVersionRequested`, `browserVersion`, `buildId`, `status` and the
1018
+ counters. `run start` / `run status` label each platform line of a run with its
1019
+ target.
1020
+
1003
1021
  ```bash
1004
1022
  # Run a single scenario (by name or UUID) and wait for results
1005
1023
  minitest --json --app <app_id> run start "User Login" \
@@ -1053,7 +1071,7 @@ minitest --json --app <app_id> run all --web
1053
1071
  minitest --json --app <app_id> run from-commit <full_sha> \
1054
1072
  [--platform ios|android|web] [--platform ...] \
1055
1073
  [--ios-device-type phone|tablet] [--android-device-type phone|tablet] \
1056
- [--user-story <id-or-name>] [--no-watch] [--timeout <seconds>]
1074
+ [--scenario <id-or-name>] [--no-watch] [--timeout <seconds>]
1057
1075
 
1058
1076
  # Cancel every pending or running platform of a run (optionally just one)
1059
1077
  minitest --json --app <app_id> run cancel <run_id> [--platform ios|android|web] [--srp <srp_id>]
@@ -1142,7 +1160,7 @@ A batch groups runs triggered together (by `run all`, CI, or a single
1142
1160
  minitest --json --app <app_id> batch list # recent batches
1143
1161
  minitest --json --app <app_id> batch list --status running
1144
1162
  minitest --json --app <app_id> batch list --commit-sha abc1234
1145
- minitest --json --app <app_id> batch list --user-story <id>
1163
+ minitest --json --app <app_id> batch list --scenario <id>
1146
1164
  minitest --json --app <app_id> batch get <batch_id> # batch + its runs
1147
1165
  minitest --json --app <app_id> batch cancel <batch_id> # cancels all pending/running runs
1148
1166
  minitest --json --app <app_id> batch delete <batch_id>... --yes # deletes finished runs
@@ -1513,11 +1531,6 @@ the runs. Use `run verdicts <batch_id>` when you actually want the outcomes.
1513
1531
  | Task | Command |
1514
1532
  | ------------------- | --------------------------------------------------------------------------------- |
1515
1533
  | Onboard a new app | `minitest init` (prints the end-to-end onboarding playbook) |
1516
- | Maintain tests locally | `minitest maintenance --agent` (prints the CLI maintenance playbook) |
1517
- | Open maintenance run | `minitest --json maintenance context` |
1518
- | Post maintenance change | `minitest maintenance change --file change.json` |
1519
- | Complete maintenance run | `minitest maintenance complete --changed` |
1520
- | Apply maintenance edits | `minitest maintenance apply` or `minitest maintenance apply --review` |
1521
1534
  | List apps | `minitest --json apps list` |
1522
1535
  | Get app details | `minitest --json apps get <app_id>` |
1523
1536
  | App dependency graph| `minitest apps dependencies <app_id>` (Mermaid flowchart to stdout) |
@@ -1528,6 +1541,8 @@ the runs. Use `run verdicts <batch_id>` when you actually want the outcomes.
1528
1541
  | Private network (owner/admin to change) | `minitest --json --app ID apps private-network show` / `connectors` / `set [--enable\|--disable] [--connector NAME] [--domain D ...] [--port 443 ...]` |
1529
1542
  | Backend API (OpenAPI) | `minitest --json --app ID apps backend-api show` / `set [--enable\|--disable] [--base-url U] [--openapi-url U] [--secret NAME ...] [--remove-secret NAME] [--clear-secrets] [--skill NAME\|--clear-skill] [--openapi-auth TYPE --openapi-auth-secret NAME [--openapi-auth-header H\|--openapi-auth-username U\|--openapi-auth-param P]]` |
1530
1543
  | Point one run at another backend | `run start\|all\|from-commit ... --backend-base-url U --backend-openapi-url U` |
1544
+ | List run targets (devices, OS, browsers) | `minitest --json --app ID targets catalog [--tenant ID]` |
1545
+ | Several devices / versions in one run | `run start\|all\|from-commit ... --target platform=ios,os=26 --target platform=ios,os=27` (or `--targets-file F`) |
1531
1546
  | Create scenario | `minitest --json --app ID scenario create --name "..." --tag auth --criteria "..."` |
1532
1547
  | Create scenario with profile | `minitest --json --app ID scenario create --name "..." --tag auth --profile <profile_id> --criteria "..."` |
1533
1548
  | List scenarios | `minitest --json --app ID scenario list` |
@@ -1580,7 +1595,7 @@ the runs. Use `run verdicts <batch_id>` when you actually want the outcomes.
1580
1595
  | Run on physical devices | `minitest --json --app ID run all --ios-build BID --ios-physical` / `--android-build BID --android-physical` |
1581
1596
  | List builds | `minitest --json --app ID build list [--platform P] [--status S] [--kind K]` |
1582
1597
  | Get one build | `minitest --json --app ID build get <build_id>` |
1583
- | Build from GitHub commit | `minitest --json --app ID build from-commit [SHA] [--platform P] [--force-full]` |
1598
+ | Build from a commit | `minitest --json --app ID build from-commit [SHA] [--platform P] [--force-full]` |
1584
1599
  | Run one native story| `minitest --json --app ID run start "Story Name" --ios-build X --android-build Y [--ios-device-type phone\|tablet] [--android-device-type phone\|tablet]` |
1585
1600
  | Run several native stories | `minitest --json --app ID run start "Story A" "Story B" --ios-build X --android-build Y` (one batch) |
1586
1601
  | Run tagged native stories | `minitest --json --app ID run start --tag smoke --ios-build X [--ios-device-type phone\|tablet]` |
@@ -1588,7 +1603,7 @@ the runs. Use `run verdicts <batch_id>` when you actually want the outcomes.
1588
1603
  | Run a tag | `minitest --json --app ID run start --tag checkout --web` (not combinable with story names) |
1589
1604
  | Run all native stories | `minitest --json --app ID run all --ios-build X --android-build Y [--ios-device-type phone\|tablet] [--android-device-type phone\|tablet]` |
1590
1605
  | Run all web stories | `minitest --json --app ID run all --web` |
1591
- | Build and run commit | `minitest --json --app ID run from-commit SHA [--platform P] [--ios-device-type phone\|tablet] [--android-device-type phone\|tablet] [--user-story ID] [--no-watch] [--timeout N]` |
1606
+ | Build and run commit | `minitest --json --app ID run from-commit SHA [--platform P] [--ios-device-type phone\|tablet] [--android-device-type phone\|tablet] [--scenario ID] [--no-watch] [--timeout N]` |
1592
1607
  | Cancel a run | `minitest --json --app ID run cancel <run_id> [--platform P] [--srp ID]` |
1593
1608
  | Check run | `minitest --json --app ID run status <run_id>` |
1594
1609
  | List runs for story | `minitest --json --app ID run list "Story Name"` |
@@ -1665,7 +1680,8 @@ depends on.
1665
1680
 
1666
1681
  Bindings link profiles or files to a specific scenario:
1667
1682
 
1668
- - Profile binding: at most one profile per story. `set-profile --clear` unbinds.
1683
+ - Profile binding: several profiles per story. `set-profile` is **atomic
1684
+ replace** (repeat `--profile`); `--clear` leaves the story on "New user".
1669
1685
  - File binding: many files per story. `set-files` is **atomic replace** — pass
1670
1686
  every file id you want bound; omitted ids are unbound. `--clear` unbinds all.
1671
1687
  - Skill binding: `set-app-skills` is atomic replace by skill name; Mini loads the
@@ -38,6 +38,11 @@ minitest --json --app $APP schedules create --name "Monitoring" --at 05:00 \
38
38
  --days every-day --timezone Europe/Oslo \
39
39
  --android --ios-build <build-id> --slack-channel C0123ABCD
40
40
 
41
+ # Several devices: the same --target spec as `run` (no build= or version= on schedules)
42
+ minitest --json --app $APP schedules create --name "iOS matrix" --at 03:00 \
43
+ --target platform=ios,os=26 --target platform=ios,device=tablet,os=27 \
44
+ --ios-build <build-id> --slack-channel C0123ABCD
45
+
41
46
  # What tonight would run: scenario count, duration per target, builds it would pick
42
47
  minitest --json --app $APP schedules preview "Nightly sanity check"
43
48
 
@@ -79,6 +84,7 @@ reason; never read a missing run as all clear.
79
84
  | What runs | `--suite` (default), `--tag T` (repeatable) with `--exclude <scenario>` (repeatable), or `--scenario <name-or-id>` (repeatable) |
80
85
  | Web | `--browser BROWSER[:SURFACE]` (`chrome`, `chrome:mobile`, `chrome:tablet`, `chrome:android`, `safari:ios`; default `chrome`), plus `--url URL` or `--web-branch BRANCH` |
81
86
  | Native | `--ios` / `--android` (latest build that installs), `--ios-build ID` / `--android-build ID` (fixed), `--ios-branch B` / `--android-branch B` (build the branch first), `--<platform>-physical`, `--<platform>-device-type phone\|tablet` |
87
+ | Targets | `--target key=value,...` (repeatable) or `--targets-file F`, the `run` spec without `build=` and `version=`: builds come from the Native flags (default: latest). A platform a `--target` names gets exactly its targets; do not combine it with that platform's `--*-physical` / `--*-device-type` |
82
88
  | Summary | `--slack-channel ID`, `--slack-channel-name NAME`, `--post-all-clear/--no-post-all-clear` (default on) |
83
89
  | Agents | `--from-file schedule.json\|yaml`: the shape `schedules get --json` prints (read-only fields are ignored); flags override its fields |
84
90
 
@@ -17,6 +17,7 @@ from minitest_cli.commands.run_helpers import (
17
17
  resolve_app,
18
18
  run_api_call,
19
19
  )
20
+ from minitest_cli.commands.target_summary import print_targets
20
21
  from minitest_cli.models.batch import BatchListItem, BatchListResponse, BatchResponse
21
22
  from minitest_cli.utils.output import output, print_info, print_success, print_table
22
23
 
@@ -138,25 +139,7 @@ def get_batch(
138
139
  print_info(f" tag: {batch.tag_name}")
139
140
  warn_waiting(batch.id, waiting)
140
141
 
141
- target_rows: list[list[str]] = []
142
- for t in batch.targets:
143
- c = t.counters
144
- target_rows.append(
145
- [
146
- t.label,
147
- c.headline_status or c.status or "",
148
- str(c.passed),
149
- str(c.warnings),
150
- str(c.criticals),
151
- str(c.skipped),
152
- ]
153
- )
154
- if target_rows:
155
- print_table(
156
- ["Target", "Status", "Passed", "Warnings", "Criticals", "Skipped"],
157
- target_rows,
158
- title=f"Targets ({len(target_rows)})",
159
- )
142
+ print_targets(batch.targets)
160
143
 
161
144
  rows: list[list[str]] = []
162
145
  for r in batch.story_runs:
@@ -15,6 +15,8 @@ from minitest_cli.commands._response_errors import (
15
15
  )
16
16
  from minitest_cli.commands.run_helpers import handle_response_error
17
17
  from minitest_cli.commands.batch_warnings import print_compatibility_warnings
18
+ from minitest_cli.commands.target_errors import explain_target_refusal
19
+ from minitest_cli.commands.target_summary import target_payload
18
20
  from minitest_cli.models.batch import BatchResponse, CreateBatchRequest
19
21
  from minitest_cli.utils.output import err_console, print_error
20
22
 
@@ -31,6 +33,7 @@ async def post_batch(client: ApiClient, app_id: str, body: CreateBatchRequest) -
31
33
  json=body.model_dump(by_alias=True, exclude_none=True),
32
34
  timeout=BATCH_CREATE_TIMEOUT,
33
35
  )
36
+ explain_target_refusal(resp)
34
37
  if resp.status_code == 403 and _requests_physical(body):
35
38
  _exit_physical_forbidden(resp)
36
39
  if resp.status_code == 422 and try_handle_android_abi_mismatch(resp):
@@ -50,7 +53,8 @@ def _exit_physical_forbidden(resp: httpx.Response) -> None:
50
53
  print_error(extract_detail(resp))
51
54
  err_console.print(
52
55
  " [yellow]Fix:[/yellow] ask Minitap to enable physical devices for this workspace,"
53
- " or drop [bold]--ios-physical[/bold] / [bold]--android-physical[/bold]"
56
+ " or drop [bold]--ios-physical[/bold] / [bold]--android-physical[/bold] /"
57
+ " [bold]backend=physical[/bold]"
54
58
  " to run on virtual devices."
55
59
  )
56
60
  raise typer.Exit(code=EXIT_NETWORK_ERROR)
@@ -61,6 +65,7 @@ def batch_summary_payload(batch: BatchResponse) -> dict[str, Any]:
61
65
  return {
62
66
  "batchId": batch.id,
63
67
  "status": batch.status.value,
68
+ "targets": [target_payload(target) for target in batch.targets],
64
69
  "storyRuns": [
65
70
  {
66
71
  "runId": r.id,
@@ -1,4 +1,4 @@
1
- """``minitest build from-commit``: queue a build from a GitHub commit."""
1
+ """``minitest build from-commit``: queue a build from a repository commit."""
2
2
 
3
3
  from typing import Annotated, Any
4
4
 
@@ -51,7 +51,7 @@ def from_commit(
51
51
  platform: PlatformOpt = None,
52
52
  force_full: ForceFullOpt = False,
53
53
  ) -> None:
54
- """Queue a build from a GitHub commit, without running any test."""
54
+ """Queue a build from a commit of the linked GitHub, GitLab or Bitbucket repo, no tests."""
55
55
  settings, app_id, json_mode = resolve_app()
56
56
  sha = validate_commit_sha(commit_sha)
57
57
  platforms = validate_platforms(platform)
@@ -21,7 +21,10 @@ VALID_PLATFORMS = ("ios", "android", "web")
21
21
 
22
22
  NO_REPO_MARKER = "no source repository"
23
23
  PLATFORM_MISMATCH_MARKER = "are not enabled for this app"
24
- CONNECT_REPO_HINT = "Connect a GitHub repository to this app in the Minitest web app, then retry."
24
+ CONNECT_REPO_HINT = (
25
+ "Connect a GitHub, GitLab or Bitbucket repository to this app in the Minitest web app, "
26
+ "then retry."
27
+ )
25
28
  PLATFORM_HINT = "Pass --platform explicitly, for example --platform web on a web app."
26
29
 
27
30
  CommitShaArg = Annotated[