tuner-testkit 6.2.0__tar.gz → 7.0.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 (373) hide show
  1. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/LICENSE +21 -21
  2. {tuner_testkit-6.2.0/tuner_testkit.egg-info → tuner_testkit-7.0.0}/PKG-INFO +274 -230
  3. tuner_testkit-7.0.0/README.md +224 -0
  4. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/pyproject.toml +129 -111
  5. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/setup.cfg +4 -4
  6. tuner_testkit-7.0.0/tuner_testkit/__init__.py +5 -0
  7. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/__init__.py +48 -48
  8. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/__main__.py +111 -111
  9. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/_internal/__init__.py +5 -5
  10. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/_internal/api.py +56 -56
  11. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/_internal/db.py +48 -48
  12. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/_internal/generators.py +37 -37
  13. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/_internal/ids.py +78 -78
  14. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/_internal/wait.py +27 -27
  15. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/base.py +134 -134
  16. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/context.py +105 -105
  17. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/action_words/registry.py +112 -112
  18. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_mock/__init__.py +68 -68
  19. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_mock/app.py +419 -419
  20. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_mock/errors.py +17 -17
  21. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_mock/router.py +1 -1
  22. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_mock/spec.py +180 -180
  23. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_mock/store.py +213 -213
  24. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/__init__.py +1 -1
  25. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/auth.py +226 -227
  26. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/__init__.py +35 -35
  27. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/capture.py +2 -2
  28. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/codegen.py +381 -381
  29. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/freeze.py +1 -1
  30. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/mocks.py +149 -149
  31. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/normalize.py +0 -35
  32. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/pipeline.py +1 -1
  33. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_objects/recording/sanitize.py +99 -99
  34. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_test/__init__.py +24 -24
  35. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_test/client.py +2 -3
  36. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_test/errors.py +26 -26
  37. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_test/jsonpath.py +88 -88
  38. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/api_test/model.py +377 -377
  39. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/__init__.py +1 -1
  40. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/_shared/__init__.py +1 -1
  41. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/_shared/changelog.py +96 -77
  42. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/api_recorder/__init__.py +11 -11
  43. {tuner_testkit-6.2.0/tuner_testkit/apps/mock_server → tuner_testkit-7.0.0/tuner_testkit/apps/api_recorder}/__main__.py +6 -6
  44. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/api_recorder/addon.py +67 -67
  45. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/api_recorder/cli.py +200 -201
  46. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/api_recorder/playwright_tap.py +4 -4
  47. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/api_recorder/tests/test_addon.py +117 -117
  48. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/__init__.py +1 -1
  49. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/__main__.py +4 -4
  50. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/build.py +91 -91
  51. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/cli.py +222 -153
  52. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/agents/bdd-asset-pipeline.md +12 -5
  53. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/agents/sut-self-learning.md +10 -9
  54. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/agents/sut-source-to-design.md +5 -5
  55. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/hooks/sync_registry.py +45 -45
  56. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/hooks.json +11 -11
  57. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/agent-task-log.mdc +28 -0
  58. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/apps-authoring.mdc +15 -6
  59. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/apps-handover.mdc +34 -29
  60. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/assets-knowledge.mdc +39 -0
  61. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/bdd-asset-layering.mdc +65 -65
  62. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/bdd-pipeline-gates.mdc +9 -7
  63. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/bdd-stage-layout.mdc +53 -53
  64. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/commit-convention.mdc +22 -22
  65. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/config.mdc +24 -0
  66. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/defects.mdc +33 -0
  67. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/explore-safety.mdc +4 -4
  68. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/index-hygiene.mdc +37 -0
  69. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/knowledge.mdc +30 -0
  70. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/packages-db.mdc +9 -9
  71. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/packages-fake.mdc +59 -59
  72. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/packages-logging.mdc +60 -60
  73. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/packages-page-test.mdc +4 -4
  74. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/testcases.mdc +38 -31
  75. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/rules/work-task.mdc +27 -24
  76. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/analyze-mcp-network/SKILL.md +2 -1
  77. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/create-action-word/SKILL.md +14 -2
  78. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/create-app/SKILL.md +96 -0
  79. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/derive-design-knowledge/SKILL.md +7 -6
  80. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/derive-feature-sets/SKILL.md +3 -2
  81. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/derive-test-design/SKILL.md +6 -4
  82. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/dump-ddl/SKILL.md +15 -14
  83. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/execute-testsheet/SKILL.md +65 -0
  84. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/explore-sut/SKILL.md +13 -8
  85. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/feature-authoring/SKILL.md +2 -1
  86. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/feature-review-lint/SKILL.md +2 -1
  87. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/freeze-api-objects/SKILL.md +20 -2
  88. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/generate-test-report/SKILL.md +15 -4
  89. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/generate-testsheet-report/SKILL.md +149 -0
  90. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/health-check/SKILL.md +105 -0
  91. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-bdd-assets/SKILL.md +40 -0
  92. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-behave-steps/SKILL.md +2 -1
  93. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-config/SKILL.md +68 -0
  94. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-defectlib/SKILL.md +71 -0
  95. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-index/SKILL.md +59 -0
  96. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-page-objects/SKILL.md +13 -3
  97. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-pytest/SKILL.md +55 -0
  98. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-testcases/SKILL.md +18 -6
  99. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-testsheet/SKILL.md +39 -11
  100. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-wiki/SKILL.md +62 -0
  101. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/reuse-analysis/SKILL.md +3 -2
  102. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/run-feature-playwright-mcp/SKILL.md +8 -3
  103. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/.cursor/skills/run-test-execution/SKILL.md +11 -6
  104. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/upgrade-framework/SKILL.md +85 -0
  105. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/AGENTS.md +119 -0
  106. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/MANIFEST.txt +14 -13
  107. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-4.0.0.md +20 -0
  108. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-4.1.0.md +19 -0
  109. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-4.2.0.md +27 -0
  110. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-4.3.0.md +20 -0
  111. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-4.4.0.md +17 -0
  112. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-5.0.0.md +38 -0
  113. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-5.1.0.md +15 -0
  114. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-5.2.0.md +15 -0
  115. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-5.3.0.md +15 -0
  116. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-5.3.1.md +7 -0
  117. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-6.0.0.md +21 -0
  118. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-6.1.0.md +16 -0
  119. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-6.2.0.md +14 -0
  120. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-6.3.0.md +24 -0
  121. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/changelog/TEMPLATE-7.0.0.md +82 -0
  122. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/action-words-syntax.md +1 -1
  123. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/agent-task-log.md +8 -5
  124. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/api-objects-syntax.md +245 -242
  125. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/apps-authoring-syntax.md +38 -8
  126. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/artifacts-layout.md +7 -5
  127. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/assets-knowledge-syntax.md +54 -0
  128. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/bdd-run-gherkin-in-playwrightMCP.md +5 -3
  129. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/behave-gerkin-syntax.md +282 -282
  130. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/behave-step-definitions.md +199 -199
  131. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/browser-channel.md +37 -0
  132. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/commit-convention.md +88 -86
  133. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/config-syntax.md +103 -0
  134. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/data-syntax.md +53 -0
  135. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/defect-syntax.md +134 -0
  136. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/design-knowledge-syntax.md +4 -4
  137. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/knowledge-syntax.md +98 -0
  138. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/metadata-conventions.md +109 -0
  139. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/page-objects-syntax.md +283 -283
  140. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/docs/spec/ports.md +56 -0
  141. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/sut-self-learning.md +9 -8
  142. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/test-design-syntax.md +2 -2
  143. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/testcase-syntax.md +22 -4
  144. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/docs/spec/work-task.md +14 -9
  145. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/README.md +32 -32
  146. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/commit-msg +20 -20
  147. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/pre-commit +31 -0
  148. tuner_testkit-7.0.0/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/pre-push +28 -0
  149. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/secret_scan.py +143 -145
  150. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/validate_commit_msg.py +194 -191
  151. tuner_testkit-7.0.0/tuner_testkit/apps/dna/paths.py +49 -0
  152. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/source.py +97 -84
  153. tuner_testkit-7.0.0/tuner_testkit/apps/dna/targets.py +332 -0
  154. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/tests/test_cli.py +24 -24
  155. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dna/tests/test_targets.py +62 -62
  156. tuner_testkit-7.0.0/tuner_testkit/apps/dna/tests/test_workspace_view.py +102 -0
  157. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/dump_ddl.py +1332 -1333
  158. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/__init__.py +5 -5
  159. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/__main__.py +4 -4
  160. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/cli.py +119 -119
  161. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/persist.py +440 -440
  162. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/tests/test_cli.py +26 -26
  163. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/tests/test_persist.py +77 -77
  164. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/index_ai/__init__.py +8 -8
  165. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/index_ai/__main__.py +42 -42
  166. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/index_ai/registry.py +386 -352
  167. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/__init__.py +11 -11
  168. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/__main__.py +100 -100
  169. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/manifest.py +137 -133
  170. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/scaffold.py +292 -279
  171. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/INDEX.project.md +33 -15
  172. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/apps/__init__.py +1 -1
  173. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/behave.ini +23 -23
  174. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/config/env.py +111 -115
  175. tuner_testkit-7.0.0/tuner_testkit/apps/init_repo/stubs/config/env_local.py.example +81 -0
  176. tuner_testkit-7.0.0/tuner_testkit/apps/init_repo/stubs/data/sut-accounts.example.yaml +30 -0
  177. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/gitignore +37 -36
  178. tuner_testkit-7.0.0/tuner_testkit/apps/init_repo/stubs/knowledge/wiki/index.md +26 -0
  179. tuner_testkit-7.0.0/tuner_testkit/apps/init_repo/stubs/knowledge/wiki/log.md +4 -0
  180. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/__init__.py +5 -5
  181. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/action_words/__init__.py +34 -34
  182. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/action_words/_internal/__init__.py +6 -6
  183. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/action_words/_internal/params.py +12 -12
  184. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/action_words/models.py +12 -12
  185. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/api_objects/__init__.py +1 -1
  186. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/api_objects/auth.py +3 -3
  187. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/api_objects/recording/__init__.py +3 -3
  188. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/api_objects/registry.py +143 -143
  189. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/page_objects/__init__.py +19 -19
  190. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/packages/page_objects/session.py +4 -4
  191. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/api_environment.py +49 -49
  192. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/api_steps/given.py +1 -1
  193. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/api_steps/then.py +1 -1
  194. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/api_steps/when.py +1 -1
  195. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/ui_environment.py +1 -1
  196. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/ui_steps/given.py +1 -1
  197. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/ui_steps/then.py +1 -1
  198. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/features/ui_steps/when.py +1 -1
  199. tuner_testkit-7.0.0/tuner_testkit/apps/init_repo/stubs/tests/pytest/__pycache__/conftest.cpython-312-pytest-9.0.3.pyc +0 -0
  200. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/tests/pytest/conftest.py +53 -53
  201. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/workbench.cmd +3 -3
  202. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/stubs/workbench.sh +3 -3
  203. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/tests/test_git_hooks.py +101 -73
  204. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/init_repo/tests/test_scaffold.py +128 -112
  205. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/mock_server/__init__.py +1 -1
  206. {tuner_testkit-6.2.0/tuner_testkit/apps/page_recorder → tuner_testkit-7.0.0/tuner_testkit/apps/mock_server}/__main__.py +6 -6
  207. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/mock_server/cli.py +213 -213
  208. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/mock_server/seed.py +215 -215
  209. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/mock_server/tool.py +45 -45
  210. tuner_testkit-7.0.0/tuner_testkit/apps/openapi_import/__init__.py +1 -0
  211. tuner_testkit-7.0.0/tuner_testkit/apps/openapi_import/__main__.py +3 -0
  212. tuner_testkit-7.0.0/tuner_testkit/apps/openapi_import/cli.py +97 -0
  213. tuner_testkit-7.0.0/tuner_testkit/apps/openapi_import/convert.py +256 -0
  214. tuner_testkit-7.0.0/tuner_testkit/apps/openapi_import/tests/test_convert.py +92 -0
  215. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/__init__.py +7 -7
  216. {tuner_testkit-6.2.0/tuner_testkit/apps/recorder → tuner_testkit-7.0.0/tuner_testkit/apps/page_recorder}/__main__.py +6 -6
  217. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/capture.py +215 -215
  218. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/cli.py +133 -134
  219. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/codegen.py +239 -239
  220. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/freeze.py +390 -390
  221. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/inject.py +235 -235
  222. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/session.py +2 -2
  223. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/tests/test_capture.py +171 -171
  224. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/tests/test_cli.py +53 -53
  225. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/tests/test_freeze.py +192 -192
  226. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/recorder/__init__.py +11 -11
  227. {tuner_testkit-6.2.0/tuner_testkit/apps/api_recorder → tuner_testkit-7.0.0/tuner_testkit/apps/recorder}/__main__.py +6 -6
  228. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/recorder/cli.py +233 -233
  229. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/recorder/tests/test_cli.py +168 -169
  230. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/task/__init__.py +5 -5
  231. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/task/__main__.py +3 -3
  232. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/task/cli.py +192 -192
  233. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/task/store.py +501 -488
  234. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/task/tests/test_store.py +133 -131
  235. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/task/validate.py +47 -47
  236. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/__init__.py +5 -0
  237. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/__main__.py +3 -0
  238. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/cli.py +257 -0
  239. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/draft.py +476 -0
  240. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/mdparse.py +237 -0
  241. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/profile.py +80 -0
  242. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/render.py +234 -0
  243. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/sheet.py +353 -0
  244. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/stats.py +257 -0
  245. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/template_build.py +268 -0
  246. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/templates/gjb438b.docx +0 -0
  247. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/tests/__init__.py +0 -0
  248. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/tests/conftest.py +135 -0
  249. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/tests/test_report.py +229 -0
  250. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/tests/test_stats.py +136 -0
  251. tuner_testkit-7.0.0/tuner_testkit/apps/testreport/tool.py +32 -0
  252. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/artifacts.py +274 -274
  253. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/__init__.py +24 -24
  254. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/build.py +121 -121
  255. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/directory.py +91 -91
  256. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/front_matter.py +259 -259
  257. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/scan.py +564 -531
  258. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/tests/test_build.py +119 -97
  259. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/tests/test_directory.py +172 -172
  260. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/catalog/tests/test_front_matter.py +60 -60
  261. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/config.py +452 -336
  262. tuner_testkit-7.0.0/tuner_testkit/config_schema.py +248 -0
  263. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/db/__init__.py +34 -34
  264. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/db/client.py +7 -5
  265. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/db/connection.py +140 -140
  266. tuner_testkit-7.0.0/tuner_testkit/defects/__init__.py +6 -0
  267. tuner_testkit-7.0.0/tuner_testkit/defects/__main__.py +91 -0
  268. tuner_testkit-7.0.0/tuner_testkit/defects/template.py +84 -0
  269. tuner_testkit-7.0.0/tuner_testkit/defects/tests/test_defects.py +138 -0
  270. tuner_testkit-7.0.0/tuner_testkit/defects/validate.py +207 -0
  271. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/excel/__init__.py +37 -37
  272. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/excel/workbook.py +225 -225
  273. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/__init__.py +220 -220
  274. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/__main__.py +4 -4
  275. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/catalog.py +195 -195
  276. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/china.py +139 -139
  277. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/cli.py +162 -162
  278. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/core.py +340 -340
  279. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/medical.py +237 -237
  280. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/fake/wrappers.py +95 -95
  281. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/logging/__init__.py +50 -50
  282. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/logging/context.py +1 -1
  283. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/logging/core.py +2 -2
  284. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/logging/helpers.py +152 -152
  285. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/logging/hooks.py +1 -1
  286. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/logging/scenario_file.py +2 -3
  287. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/__init__.py +182 -182
  288. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/__main__.py +216 -216
  289. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/base.py +1 -1
  290. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/driver.py +725 -725
  291. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/errors.py +51 -51
  292. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/harvest.py +526 -526
  293. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/health.py +369 -369
  294. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/locator.py +1 -1
  295. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/model.py +522 -522
  296. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/registry.py +237 -237
  297. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/session.py +191 -192
  298. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/steps.py +517 -517
  299. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/page_test/testing.py +375 -375
  300. tuner_testkit-7.0.0/tuner_testkit/ports.py +105 -0
  301. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/project.py +225 -196
  302. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/testcases/__init__.py +5 -5
  303. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/testcases/__main__.py +25 -25
  304. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/testcases/tests/test_validate.py +195 -148
  305. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/testcases/validate.py +365 -301
  306. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/tools/__init__.py +44 -44
  307. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/tools/manifest.py +495 -482
  308. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/tools/runner.py +213 -213
  309. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/tools/tests/test_manifest.py +102 -102
  310. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/tools/tests/test_runner.py +45 -45
  311. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/__init__.py +14 -14
  312. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/__main__.py +4 -4
  313. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/app.py +475 -475
  314. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/cli.py +49 -49
  315. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/kinds/__init__.py +97 -97
  316. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/kinds/app_generic.py +13 -13
  317. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/kinds/word_db_seed.py +13 -13
  318. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/kinds/word_generic.py +22 -22
  319. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/static/app.css +24 -24
  320. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/_params_form.html +64 -64
  321. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/ai.html +48 -47
  322. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/ai_detail.html +27 -27
  323. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/base.html +26 -26
  324. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/env.html +24 -24
  325. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/history.html +20 -20
  326. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/home.html +24 -24
  327. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/knowledge.html +21 -21
  328. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/run.html +27 -27
  329. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/tool.html +17 -17
  330. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/tools.html +26 -26
  331. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/word.html +15 -15
  332. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/word_db_seed.html +23 -23
  333. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/templates/words.html +25 -25
  334. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workbench/tests/test_app.py +120 -120
  335. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/__init__.py +1 -1
  336. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/__main__.py +3 -3
  337. tuner_testkit-7.0.0/tuner_testkit/workspace/changelog.py +225 -0
  338. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/cli.py +227 -145
  339. tuner_testkit-7.0.0/tuner_testkit/workspace/doctor.py +371 -0
  340. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/index_render.py +44 -6
  341. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/meta.py +70 -70
  342. tuner_testkit-7.0.0/tuner_testkit/workspace/migrate.py +227 -0
  343. tuner_testkit-7.0.0/tuner_testkit/workspace/tests/test_changelog.py +91 -0
  344. tuner_testkit-7.0.0/tuner_testkit/workspace/tests/test_doctor.py +95 -0
  345. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/tests/test_index_render.py +101 -63
  346. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/workspace/tests/test_meta.py +21 -21
  347. tuner_testkit-7.0.0/tuner_testkit/workspace/tests/test_migrate.py +65 -0
  348. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0/tuner_testkit.egg-info}/PKG-INFO +274 -230
  349. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit.egg-info/SOURCES.txt +61 -1
  350. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit.egg-info/entry_points.txt +2 -0
  351. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit.egg-info/requires.txt +4 -1
  352. tuner_testkit-6.2.0/README.md +0 -182
  353. tuner_testkit-6.2.0/tuner_testkit/__init__.py +0 -5
  354. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/agent-task-log.mdc +0 -22
  355. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/assets-knowledge.mdc +0 -51
  356. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/.cursor/rules/index-hygiene.mdc +0 -36
  357. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/create-app/SKILL.md +0 -70
  358. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/maintain-index/SKILL.md +0 -60
  359. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/.cursor/skills/release-template/SKILL.md +0 -51
  360. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/AGENTS.md +0 -93
  361. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/docs/spec/assets-knowledge-syntax.md +0 -85
  362. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/docs/spec/metadata-conventions.md +0 -71
  363. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/pre-commit +0 -19
  364. tuner_testkit-6.2.0/tuner_testkit/apps/dna/dna_payload/tools/git-hooks/pre-push +0 -22
  365. tuner_testkit-6.2.0/tuner_testkit/apps/dna/paths.py +0 -15
  366. tuner_testkit-6.2.0/tuner_testkit/apps/dna/targets.py +0 -182
  367. tuner_testkit-6.2.0/tuner_testkit/apps/init_repo/stubs/data/sut-accounts.example.yaml +0 -18
  368. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/api_recorder/tests/__init__.py +0 -0
  369. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/evidence/tests/__init__.py +0 -0
  370. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/page_recorder/tests/__init__.py +0 -0
  371. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit/apps/recorder/tests/__init__.py +0 -0
  372. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit.egg-info/dependency_links.txt +0 -0
  373. {tuner_testkit-6.2.0 → tuner_testkit-7.0.0}/tuner_testkit.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 tuner-testkit contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tuner-testkit contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,230 +1,274 @@
1
- Metadata-Version: 2.4
2
- Name: tuner-testkit
3
- Version: 6.2.0
4
- Summary: Shared test runtime, recorders, and DNA overlay for SUT test repos
5
- Author: tuner-testkit contributors
6
- License-Expression: MIT
7
- Requires-Python: >=3.12
8
- Description-Content-Type: text/markdown
9
- License-File: LICENSE
10
- Requires-Dist: pydantic>=2
11
- Provides-Extra: db
12
- Requires-Dist: pymysql>=1.2.0; extra == "db"
13
- Requires-Dist: pymssql>=2.3.0; extra == "db"
14
- Requires-Dist: psycopg[binary]>=3.2; extra == "db"
15
- Requires-Dist: sqlalchemy>=2.0; extra == "db"
16
- Provides-Extra: api
17
- Requires-Dist: requests>=2.33.1; extra == "api"
18
- Provides-Extra: web-ui
19
- Requires-Dist: playwright>=1.54.0; extra == "web-ui"
20
- Provides-Extra: phone-ui
21
- Provides-Extra: excel
22
- Requires-Dist: openpyxl>=3.1.0; extra == "excel"
23
- Provides-Extra: fake
24
- Requires-Dist: faker>=37.0.0; extra == "fake"
25
- Provides-Extra: mock
26
- Requires-Dist: fastapi>=0.115.0; extra == "mock"
27
- Requires-Dist: uvicorn[standard]>=0.32.0; extra == "mock"
28
- Requires-Dist: httpx>=0.28.0; extra == "mock"
29
- Provides-Extra: workbench
30
- Requires-Dist: tuner-testkit[mock]; extra == "workbench"
31
- Requires-Dist: jinja2>=3.1.0; extra == "workbench"
32
- Provides-Extra: recorder
33
- Requires-Dist: playwright>=1.54.0; extra == "recorder"
34
- Requires-Dist: mitmproxy>=11.1.3; extra == "recorder"
35
- Provides-Extra: test
36
- Requires-Dist: pytest>=9.0.3; extra == "test"
37
- Requires-Dist: openpyxl>=3.1.0; extra == "test"
38
- Requires-Dist: httpx>=0.28.0; extra == "test"
39
- Provides-Extra: bdd
40
- Requires-Dist: behave>=1.2.6; extra == "bdd"
41
- Requires-Dist: playwright>=1.54.0; extra == "bdd"
42
- Requires-Dist: behave-html-pretty-formatter>=1.16.1; extra == "bdd"
43
- Provides-Extra: all
44
- Requires-Dist: tuner-testkit[api,bdd,db,excel,fake,mock,phone-ui,recorder,test,web-ui,workbench]; extra == "all"
45
- Provides-Extra: dev
46
- Requires-Dist: tuner-testkit[all]; extra == "dev"
47
- Dynamic: license-file
48
-
49
- # tuner-testkit
50
-
51
- 发行名 **`tuner-testkit`**,导入名 **`tuner_testkit`**。给被测系统(SUT)测试仓提供公共运行库与 CLI(db / API / Web UI / 录制 / mock),以及 Cursor/git **DNA**(rules、skills、hooks)。
52
-
53
- 业务资产(page/api objects、action words、features)留在**各项目仓**的 `packages/` 与 `tests/`,不进本包。平台发新版本后,下游用 `uv` 按需升级,不必再整树拷贝运行库。
54
-
55
- ---
56
-
57
- ## 标准作业流程
58
-
59
- ### 1. 工具域:只装核心 kit(能 `tuner-init` 即可)
60
-
61
- `uv tool install` 和业务仓 `.venv` 是两套环境。下游在 **tool 域只装默认 wheel**,用来拿 `tuner-init` / `tuner-dna`;**不要**在 tool 域打开 `[db]` / `[api]` 等 extra。
62
-
63
- ```bash
64
- uv tool install tuner-testkit
65
- ```
66
-
67
- 入口命令是 `tuner-init`、`tuner-dna` 等(`tuner-*`),**没有** `tuner-testkit` 这个 script。`tuner-dump-ddl`、`tuner-recorder` 等依赖 extra 的 CLI,请在业务仓用 `uv run …` 跑,走该仓 `.venv`。
68
-
69
- ### 2. 初始化测试仓
70
-
71
- ```bash
72
- tuner-init scaffold ../balance
73
- cd ../balance
74
- uv sync
75
- ```
76
-
77
- `scaffold` 会铺六层目录、写入依赖 `tuner-testkit[db,api]>=<当前 kit 版本>` 的 `pyproject.toml`,并执行一次 `tuner-dna sync`(把 `.cursor/`、`docs/spec/`、`tools/git-hooks/` 放进**项目树**)。可在任意目录运行,不必先有测试仓。不要用 `tuner-testkit init repo`。
78
-
79
- 生成的文件夹名就是 `target` 路径的最后一段。`pyproject.toml` 里的项目名默认取这个文件夹名(`Balance` 会写成 `balance`)。需要另起项目名时加 `--name`:
80
-
81
- ```bash
82
- tuner-init scaffold ../clients/acme --name acme-billing
83
- ```
84
-
85
- `uv sync` 把 **db / api 装进业务仓 `.venv`**,不是 tool 域。已有项目仓则在该仓根目录:
86
-
87
- ```bash
88
- uv add "tuner-testkit[db,api]>=4.0.0"
89
- uv sync
90
- ```
91
-
92
- Web UI / 合录等按需再加 extra:
93
-
94
- ```bash
95
- uv add "tuner-testkit[web-ui]"
96
- uv add "tuner-testkit[recorder]"
97
- ```
98
-
99
- 测 kit 全能力(平台狗食仓等)一次打开全部能力 extra:
100
-
101
- ```bash
102
- uv add "tuner-testkit[all]"
103
- uv sync
104
- ```
105
-
106
- ### 3. 开始写业务
107
-
108
- 在**项目仓**里写,不要改 site-packages 里的 kit:
109
-
110
- | 你写什么 | 放哪里 |
111
- | --- | --- |
112
- | 页面 / 接口资产 | `packages/page_objects/`、`packages/api_objects/` |
113
- | 业务动作 | `packages/action_words/` |
114
- | BDD / pytest | `tests/features/`、`tests/pytest/` |
115
- | 知识(DDL、用例) | `assets/` |
116
- | 本仓私有工具 | `apps/`(`python -m apps.<name>`) |
117
-
118
- 代码里 `from tuner_testkit.db import …` / `from tuner_testkit.page_test import …`。密钥只放本机 `config/env_local.py` 或环境变量(`TUNER_ENV`、`TUNER_DB_<ALIAS>_*`),**不要提交**。
119
-
120
- 录制产物同样写到项目仓 `packages/`,不会写进 venv。
121
-
122
- ### 4. 获取 PyPI 上的更新
123
-
124
- 平台发新版本后,下游从 [PyPI:tuner-testkit](https://pypi.org/project/tuner-testkit/) 取 wheel,**不要**再拷本仓源码。tool 域和业务仓 `.venv` 是两份安装,**两边都要升**,再铺 DNA。
125
-
126
- **先看当前装的是哪一版、PyPI 最新是哪一版:**
127
-
128
- ```bash
129
- uv tool list # tool 域里的 tuner-testkit
130
- cd ../my-sut-tests
131
- uv pip show tuner-testkit # 业务仓 .venv
132
- ```
133
-
134
- 发行说明见 [`docs/changelog/FRAMEWORK.md`](docs/changelog/FRAMEWORK.md) 与该版本的 `docs/changelog/TEMPLATE-*.md`。
135
-
136
- **① tool 域(只升核心 CLI)**
137
-
138
- ```bash
139
- uv tool upgrade tuner-testkit
140
- ```
141
-
142
- 升的是 `tuner-init` / `tuner-dna` 所在环境。这里仍然**不要**加 `[db]` / `[api]`。尚未 `uv tool install` 过则先执行第 1 节。
143
-
144
- **② 业务仓 `.venv`(升运行库 + extras)**
145
-
146
- 在**项目仓根目录**改依赖并同步 lock。保留你原来打开的 extra(普通仓 `[db,api]`,狗食/全能力仓 `[all]`):
147
-
148
- ```bash
149
- # 钉到某一发行版(推荐,和团队 lock 一致)
150
- uv add "tuner-testkit[db,api]==4.3.0"
151
-
152
- # 或只抬下限,让解析器选允许范围内的最新
153
- # uv add "tuner-testkit[db,api]>=4.3.0"
154
-
155
- uv sync
156
- ```
157
-
158
- 已经写过 `>=4.0.0`、只想把 lock 里的 kit 升到 PyPI 最新:
159
-
160
- ```bash
161
- uv lock --upgrade-package tuner-testkit
162
- uv sync
163
- ```
164
-
165
- 只改 `pyproject.toml` 里的版本再 `uv lock` / `uv sync` 也可以。一个 wheel 不能「只升 web-ui、钉死旧 db」。
166
-
167
- **③ 同步 DNA 并提交**
168
-
169
- `uv add` / `uv sync` 只更新 site-packages 里的运行库。Cursor 读的是项目树里的 `.cursor/`、`docs/spec/`、`tools/git-hooks/`,必须再铺一层:
170
-
171
- ```bash
172
- tuner-dna sync
173
- tuner-dna check
174
- git add -A && git commit
175
- ```
176
-
177
- `tuner-dna check` 核对项目树 DNA 是否与**当前 PATH 上那份** kit 一致。建议先 `uv tool upgrade`,再 `sync`,避免 CLI 还是旧包、`.venv` 已是新包。
178
-
179
- **其他 AI IDE**:DNA 以 Cursor 布局为源,`tuner-dna sync --ide claude,agents`(或 `all`)把 skills 渲染到
180
- `.claude/skills/` / `.agents/skills/`、subagents 到 `.claude/agents/`,并生成 `CLAUDE.md`(`@AGENTS.md` + always-on 规则内联 + 路径规则清单)。
181
- `tuner-dna targets` 列出各目标落点;hooks.json 不跨工具翻译。目录约定随各工具文档变动,用前核对。
182
-
183
- 新仓第一次仍用第 2 节的 `tuner-init scaffold`(会写依赖并做一次 `tuner-dna sync`),不是每次发版都重新 scaffold。
184
-
185
- `[phone-ui]` 为预留空 extra,4.0 未实现。
186
-
187
- ---
188
-
189
- ## extras
190
-
191
- | extra | 内容 |
192
- | --- | --- |
193
- | (默认 wheel) | `config` / `logging`、`tuner-init`、`tuner-dna`(tool 域只装这个) |
194
- | `[db]` | MySQL / SQL Server / PostgreSQL(装在业务仓 `.venv`) |
195
- | `[api]` | `api_test`(HTTP 客户端) |
196
- | `[web-ui]` | `page_test` + Playwright |
197
- | `[phone-ui]` | 预留,无实现 |
198
- | `[recorder]` | 合录 / 仅 UI / mitmproxy 代理 |
199
- | `[mock]` | 按冻结的 api_objects 回放 |
200
- | `[excel]` / `[fake]` | 表格 / 假数据 |
201
- | `[bdd]` / `[test]` | behave / pytest |
202
- | `[all]` | 元 extra:上述能力 extra 的并集(不含 `[dev]`) |
203
- | `[dev]` | `tuner-testkit[all]`,给本仓 editable 开发 |
204
-
205
- CLI 与 `python -m tuner_testkit.…` 等价,例如 `tuner-recorder`、`tuner-page-recorder`、`tuner-api-recorder`、`tuner-mock-server`。依赖 extra 的命令在业务仓用 `uv run tuner-dump-ddl` / `uv run tuner-recorder`。
206
-
207
- ---
208
-
209
- ## 安全
210
-
211
- 不得把 token、cookie、Authorization、密码、session 写入仓库(含 capture 与 api_objects)。凭证只允许运行时注入。
212
-
213
- ---
214
-
215
- ## 本仓库(平台源码)
216
-
217
- 克隆后在仓库根目录开发 kit 本身:
218
-
219
- ```powershell
220
- uv venv
221
- uv sync --extra all
222
- ```
223
-
224
- `uv sync --extra dev` 与 `--extra all` 等价(`dev` 只是引用 `[all]`)。
225
-
226
- 本仓是**平台仓**,不是 workspace。`dogfood/` 是用 `tuner-init scaffold dogfood --no-ai` 生成的 workspace 示范
227
- (被测系统 = 平台本身,uv workspace 成员,共用 `.venv`):路线图在 `dogfood/assets/domain-notes/platform/roadmap.md`,
228
- 验收活文档在 `dogfood/tests/features/`。见 [`dogfood/README.md`](dogfood/README.md)。
229
-
230
- 6.2.0 发行说明(测试单)见 [`docs/changelog/TEMPLATE-6.2.0.md`](docs/changelog/TEMPLATE-6.2.0.md);6.1.0 发行说明(scaffold 项目名)见 [`docs/changelog/TEMPLATE-6.1.0.md`](docs/changelog/TEMPLATE-6.1.0.md);6.0.0 发行说明(一条用例一个文件)见 [`docs/changelog/TEMPLATE-6.0.0.md`](docs/changelog/TEMPLATE-6.0.0.md);5.3.1 发行说明(已回答提问归档)见 [`docs/changelog/TEMPLATE-5.3.1.md`](docs/changelog/TEMPLATE-5.3.1.md);5.3.0 发行说明(功能用例集 `assets/testcases/`)见 [`docs/changelog/TEMPLATE-5.3.0.md`](docs/changelog/TEMPLATE-5.3.0.md);5.2.0 发行说明(work task / 测试设计 / 证据附件)见 [`docs/changelog/TEMPLATE-5.2.0.md`](docs/changelog/TEMPLATE-5.2.0.md);5.1.0 发行说明(工作台 / meta stamp / `--json`)见 [`docs/changelog/TEMPLATE-5.1.0.md`](docs/changelog/TEMPLATE-5.1.0.md);5.0.0(Plane Job 协议退场、`tuner-workspace`)见 [`TEMPLATE-5.0.0.md`](docs/changelog/TEMPLATE-5.0.0.md);4.3.0 见 [`TEMPLATE-4.3.0.md`](docs/changelog/TEMPLATE-4.3.0.md);3.x → 4.x 迁移见 [`TEMPLATE-4.0.0.md`](docs/changelog/TEMPLATE-4.0.0.md)。平台能力地图见 [`INDEX.md`](INDEX.md)。
1
+ Metadata-Version: 2.4
2
+ Name: tuner-testkit
3
+ Version: 7.0.0
4
+ Summary: TestPilot: shared test runtime, recorders, and DNA overlay for SUT test workspaces
5
+ Author: tuner-testkit contributors
6
+ License-Expression: MIT
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: pydantic>=2
11
+ Provides-Extra: db
12
+ Requires-Dist: pymysql>=1.2.0; extra == "db"
13
+ Requires-Dist: pymssql>=2.3.0; extra == "db"
14
+ Requires-Dist: psycopg[binary]>=3.2; extra == "db"
15
+ Requires-Dist: sqlalchemy>=2.0; extra == "db"
16
+ Provides-Extra: api
17
+ Requires-Dist: requests>=2.33.1; extra == "api"
18
+ Provides-Extra: web-ui
19
+ Requires-Dist: playwright>=1.54.0; extra == "web-ui"
20
+ Provides-Extra: phone-ui
21
+ Provides-Extra: excel
22
+ Requires-Dist: openpyxl>=3.1.0; extra == "excel"
23
+ Provides-Extra: fake
24
+ Requires-Dist: faker>=37.0.0; extra == "fake"
25
+ Provides-Extra: mock
26
+ Requires-Dist: fastapi>=0.115.0; extra == "mock"
27
+ Requires-Dist: uvicorn[standard]>=0.32.0; extra == "mock"
28
+ Requires-Dist: httpx>=0.28.0; extra == "mock"
29
+ Provides-Extra: workbench
30
+ Requires-Dist: tuner-testkit[mock]; extra == "workbench"
31
+ Requires-Dist: jinja2>=3.1.0; extra == "workbench"
32
+ Provides-Extra: recorder
33
+ Requires-Dist: playwright>=1.54.0; extra == "recorder"
34
+ Requires-Dist: mitmproxy>=11.1.3; extra == "recorder"
35
+ Provides-Extra: test
36
+ Requires-Dist: pytest>=9.0.3; extra == "test"
37
+ Requires-Dist: openpyxl>=3.1.0; extra == "test"
38
+ Requires-Dist: httpx>=0.28.0; extra == "test"
39
+ Provides-Extra: bdd
40
+ Requires-Dist: behave>=1.2.6; extra == "bdd"
41
+ Requires-Dist: playwright>=1.54.0; extra == "bdd"
42
+ Requires-Dist: behave-html-pretty-formatter>=1.16.1; extra == "bdd"
43
+ Provides-Extra: report
44
+ Requires-Dist: docxtpl>=0.19; extra == "report"
45
+ Provides-Extra: all
46
+ Requires-Dist: tuner-testkit[api,bdd,db,excel,fake,mock,phone-ui,recorder,report,test,web-ui,workbench]; extra == "all"
47
+ Provides-Extra: dev
48
+ Requires-Dist: tuner-testkit[all]; extra == "dev"
49
+ Dynamic: license-file
50
+
51
+ # TestPilot(tuner-testkit)
52
+
53
+ **TestPilot** 是一个测试助手:用一个 Git 仓库加一套 rule / skill / agent / hook,约束读这个仓库的 AI 怎么工作,
54
+ 同时让测试工程师把知识、用例、测试单、报告、自动化资产、工具都存进同一个仓库维护。
55
+
56
+ 运行库与 CLI 以 PyPI 包发布:发行名 **`tuner-testkit`**,导入名 **`tuner_testkit`**,命令 `tuner-*`。它提供公共运行库
57
+ (db / API / Web UI / 录制 / mock)以及 Cursor/git **DNA**(rules、skills、hooks、specs)。
58
+
59
+ 业务数据(`knowledge/` 被测系统知识、`assets/` + `packages/` 测试资产、`apps/` 自定义工具、`tests/`)留在**各项目仓**,不进本包。
60
+ 平台发新版本后,下游用 `uv` 升级并 `tuner-dna sync --prune`,不必整树拷贝运行库。
61
+
62
+ 打开新仓后让 AI 先跑 skill **`health-check`**(体检与开场配置)。对外入口分三组:
63
+ 知识(`maintain-wiki`、`dump-ddl`、`maintain-defectlib`)、动作(`maintain-testcases`、`maintain-testsheet`、`execute-testsheet`、
64
+ `generate-test-report`、`maintain-bdd-assets`、`maintain-pytest`)、可用性(`health-check`、`upgrade-framework`、`maintain-config`、`create-app`)。
65
+
66
+ ---
67
+
68
+ ## 标准作业流程
69
+
70
+ ### 1. 工具域:只装核心 kit(能 `tuner-init` 即可)
71
+
72
+ `uv tool install` 和业务仓 `.venv` 是两套环境。下游在 **tool 域只装默认 wheel**,用来拿 `tuner-init` / `tuner-dna`;**不要**在 tool 域打开 `[db]` / `[api]` 等 extra。
73
+
74
+ ```bash
75
+ uv tool install tuner-testkit
76
+ ```
77
+
78
+ 入口命令是 `tuner-init`、`tuner-dna` 等(`tuner-*`),**没有** `tuner-testkit` 这个 script。`tuner-dump-ddl`、`tuner-recorder` 等依赖 extra 的 CLI,请在业务仓用 `uv run …` 跑,走该仓 `.venv`。
79
+
80
+ ### 2. 初始化测试仓
81
+
82
+ ```bash
83
+ tuner-init scaffold ../acme
84
+ cd ../acme
85
+ uv sync
86
+ ```
87
+
88
+ `scaffold` 会铺分层目录(`knowledge/`、`assets/`、`packages/`、`apps/`、`data/`、`tests/`、`config/`、`work/tasks/`、`artifacts/`)、写入依赖 `tuner-testkit[db,api]>=<当前 kit 版本>` 的 `pyproject.toml`,并执行一次 `tuner-dna sync`(把 `.cursor/`、`docs/spec/`、`tools/git-hooks/`、`AGENTS.md` 放进**项目树**;平台专属内容不下发)。可在任意目录运行,不必先有测试仓。不要用 `tuner-testkit init repo`。
89
+
90
+ scaffold 之后让 AI 跑 `health-check`(底层是 `tuner-workspace doctor`),它会列出还缺的配置、账号、表结构、浏览器通道、日志端口等,并逐项补齐。
91
+
92
+ 生成的文件夹名就是 `target` 路径的最后一段。`pyproject.toml` 里的项目名默认取这个文件夹名(`Acme` 会写成 `acme`)。需要另起项目名时加 `--name`:
93
+
94
+ ```bash
95
+ tuner-init scaffold ../clients/acme --name acme-billing
96
+ ```
97
+
98
+ `uv sync` 把 **db / api 装进业务仓 `.venv`**,不是 tool 域。已有项目仓则在该仓根目录:
99
+
100
+ ```bash
101
+ uv add "tuner-testkit[db,api]>=4.0.0"
102
+ uv sync
103
+ ```
104
+
105
+ Web UI / 合录等按需再加 extra:
106
+
107
+ ```bash
108
+ uv add "tuner-testkit[web-ui]"
109
+ uv add "tuner-testkit[recorder]"
110
+ ```
111
+
112
+ 测 kit 全能力(平台狗食仓等)一次打开全部能力 extra:
113
+
114
+ ```bash
115
+ uv add "tuner-testkit[all]"
116
+ uv sync
117
+ ```
118
+
119
+ ### 3. 开始写业务
120
+
121
+ 在**项目仓**里写,不要改 site-packages 里的 kit:
122
+
123
+ | 你写什么 | 放哪里 |
124
+ | --- | --- |
125
+ | 被测系统知识(DDL、需求、业务讲解、探索、design、缺陷) | `knowledge/`(`ddl/`、`raw/`、`wiki/`、`requirements/`、`defects/`) |
126
+ | 测试设计、功能用例、测试单、报告 | `assets/`(`testdesign/`、`testcases/`、`testsheet/`、`testreport/`) |
127
+ | 页面 / 接口资产 | `packages/page_objects/`、`packages/api_objects/`(有 OpenAPI 时 `tuner-openapi-import`) |
128
+ | 业务动作 | `packages/action_words/` |
129
+ | BDD / pytest | `tests/features/`、`tests/pytest/` |
130
+ | 本仓私有工具、端口适配器(如后端日志) | `apps/`(`python -m apps.<name>`) |
131
+ | 测试数据、账号(角色、权限) | `data/` |
132
+ | 「在哪、用什么」:环境、运维通道、端口绑定、浏览器通道、知识位置 | `config/`(`tuner-config show --json` / `validate`) |
133
+
134
+ 代码里 `from tuner_testkit.db import …` / `from tuner_testkit.page_test import …`。密钥只放本机 `config/env_local.py` 或环境变量(`TUNER_ENV`、`TUNER_DB_<ALIAS>_*`),**不要提交**。
135
+
136
+ 后端日志这类取数方式各团队不同的能力,kit 只定**端口契约**(`docs/spec/ports.md`),实现是本仓 `apps/` 里的自定义工具。
137
+ 缺陷和用例一样有固定目录与模板:`knowledge/defects/<DEF-ID>.md`(`docs/spec/defect-syntax.md`,skill `maintain-defectlib`)。
138
+ 维护过的库(用例、需求、缺陷、wiki、接口与页面资产)各有一份入库的 `CHANGELOG.md`,`pre-commit` 会检查。
139
+
140
+ 录制产物同样写到项目仓 `packages/`,不会写进 venv。
141
+
142
+ ### 4. 获取 PyPI 上的更新
143
+
144
+ 平台发新版本后,下游从 [PyPI:tuner-testkit](https://pypi.org/project/tuner-testkit/) 取 wheel,**不要**再拷本仓源码。tool 域和业务仓 `.venv` 是两份安装,**两边都要升**,再铺 DNA。
145
+
146
+ **先看当前装的是哪一版、PyPI 最新是哪一版:**
147
+
148
+ ```bash
149
+ uv tool list # tool 域里的 tuner-testkit
150
+ cd ../my-sut-tests
151
+ uv pip show tuner-testkit # 业务仓 .venv
152
+ ```
153
+
154
+ 发行说明见 [`docs/changelog/FRAMEWORK.md`](docs/changelog/FRAMEWORK.md) 与该版本的 `docs/changelog/TEMPLATE-*.md`。
155
+
156
+ **① tool 域(只升核心 CLI)**
157
+
158
+ ```bash
159
+ uv tool upgrade tuner-testkit
160
+ ```
161
+
162
+ 升的是 `tuner-init` / `tuner-dna` 所在环境。这里仍然**不要**加 `[db]` / `[api]`。尚未 `uv tool install` 过则先执行第 1 节。
163
+
164
+ **② 业务仓 `.venv`(升运行库 + extras)**
165
+
166
+ 在**项目仓根目录**改依赖并同步 lock。保留你原来打开的 extra(普通仓 `[db,api]`,狗食/全能力仓 `[all]`):
167
+
168
+ ```bash
169
+ # 钉到某一发行版(推荐,和团队 lock 一致)
170
+ uv add "tuner-testkit[db,api]==4.3.0"
171
+
172
+ # 或只抬下限,让解析器选允许范围内的最新
173
+ # uv add "tuner-testkit[db,api]>=4.3.0"
174
+
175
+ uv sync
176
+ ```
177
+
178
+ 已经写过 `>=4.0.0`、只想把 lock 里的 kit 升到 PyPI 最新:
179
+
180
+ ```bash
181
+ uv lock --upgrade-package tuner-testkit
182
+ uv sync
183
+ ```
184
+
185
+ 只改 `pyproject.toml` 里的版本再 `uv lock` / `uv sync` 也可以。一个 wheel 不能「只升 web-ui、钉死旧 db」。
186
+
187
+ **③ 同步 DNA、按说明迁移、提交**
188
+
189
+ `uv add` / `uv sync` 只更新 site-packages 里的运行库。Cursor 读的是项目树里的 `.cursor/`、`docs/spec/`、`docs/changelog/TEMPLATE-*.md`、`tools/git-hooks/`、`AGENTS.md`,必须再铺一层:
190
+
191
+ ```bash
192
+ tuner-dna sync --prune # 没被本地改过的文件自动更新;上游删掉的文件一并删除
193
+ tuner-dna check # 本地改过的文件会列为 edited
194
+ ```
195
+
196
+ `tuner-dna sync` 在项目根写 `.tuner-dna.json`(每个文件的哈希,入库),据此区分「没动过、可以直接更新」和「本地改过」。
197
+ 本地改过的 DNA 文件默认保留;把定制移到 `.cursor/rules/<名字>.local.mdc` 或 `AGENTS.local.md`(sync 永不触碰)后再加 `--overwrite`。
198
+ 然后读 `docs/changelog/TEMPLATE-<版本>.md` 做布局或配置迁移(例如 7.0.0 的 `tuner-workspace migrate knowledge`),最后一次提交。
199
+ 这一整套可以交给 skill **`upgrade-framework`**。
200
+
201
+ `tuner-dna check` 核对项目树 DNA 是否与**当前 PATH 上那份** kit 一致。建议先 `uv tool upgrade`,再 `sync`,避免 CLI 还是旧包、`.venv` 已是新包。
202
+
203
+ **其他 AI IDE**:DNA 以 Cursor 布局为源,`tuner-dna sync --ide claude,agents`(或 `all`)把 skills 渲染到
204
+ `.claude/skills/` / `.agents/skills/`、subagents 到 `.claude/agents/`,并生成 `CLAUDE.md`(`@AGENTS.md` + always-on 规则内联 + 路径规则清单)。
205
+ `tuner-dna targets` 列出各目标落点;hooks.json 不跨工具翻译。目录约定随各工具文档变动,用前核对。
206
+
207
+ 新仓第一次仍用第 2 节的 `tuner-init scaffold`(会写依赖并做一次 `tuner-dna sync`),不是每次发版都重新 scaffold。
208
+
209
+ `[phone-ui]` 为预留空 extra,4.0 未实现。
210
+
211
+ ---
212
+
213
+ ## extras
214
+
215
+ | extra | 内容 |
216
+ | --- | --- |
217
+ | (默认 wheel) | `config` / `logging`、`tuner-init`、`tuner-dna`(tool 域只装这个) |
218
+ | `[db]` | MySQL / SQL Server / PostgreSQL(装在业务仓 `.venv`) |
219
+ | `[api]` | `api_test`(HTTP 客户端) |
220
+ | `[web-ui]` | `page_test` + Playwright |
221
+ | `[phone-ui]` | 预留,无实现 |
222
+ | `[recorder]` | 合录 / 仅 UI / mitmproxy 代理 |
223
+ | `[mock]` | 按冻结的 api_objects 回放 |
224
+ | `[excel]` / `[fake]` | 表格 / 假数据 |
225
+ | `[report]` | `tuner-testreport render`:测试单报告出 docx(docxtpl) |
226
+ | `[bdd]` / `[test]` | behave / pytest |
227
+ | `[all]` | 元 extra:上述能力 extra 的并集(不含 `[dev]`) |
228
+ | `[dev]` | `tuner-testkit[all]`,给本仓 editable 开发 |
229
+
230
+ CLI 与 `python -m tuner_testkit.…` 等价,例如 `tuner-recorder`、`tuner-page-recorder`、`tuner-api-recorder`、`tuner-mock-server`。依赖 extra 的命令在业务仓用 `uv run tuner-dump-ddl` / `uv run tuner-recorder`。
231
+
232
+ TestPilot 的确定性入口(默认 wheel 即可):
233
+
234
+ | 命令 | 作用 |
235
+ | --- | --- |
236
+ | `tuner-workspace doctor` | 体检:还缺哪些配置、账号、表结构、通道、端口绑定,DNA 是否漂移 |
237
+ | `tuner-config show --json` / `validate` | 读配置(密钥打码)/ 校验配置 |
238
+ | `tuner-workspace changelog append` / `check` | 维护库的 changelog;提交前校验 |
239
+ | `tuner-workspace migrate knowledge` | 旧布局迁到 `knowledge/` |
240
+ | `tuner-openapi-import <spec>` | 从 OpenAPI / Swagger 冻结 api_objects |
241
+ | `tuner-dna sync --prune` / `check --json` | 升级 DNA,保留本地改动 |
242
+
243
+ ---
244
+
245
+ ## 安全
246
+
247
+ 不得把 token、cookie、Authorization、密码、session 写入仓库(含 capture 与 api_objects)。凭证只允许运行时注入。
248
+
249
+ ---
250
+
251
+ ## 本仓库(平台源码)
252
+
253
+ 克隆后在仓库根目录开发 kit 本身:
254
+
255
+ ```powershell
256
+ uv venv
257
+ uv sync --extra all
258
+ ```
259
+
260
+ `uv sync --extra dev` 与 `--extra all` 等价(`dev` 只是引用 `[all]`)。
261
+
262
+ Lint 与 CI 用同一个 ruff 版本,规则写在 `pyproject.toml` 的 `[tool.ruff.lint]`(E4 / E7 / E9 / F / B / BLE:语法与导入、pyflakes、bugbear、宽泛 except):
263
+
264
+ ```powershell
265
+ uvx ruff@0.17.3 check .
266
+ ```
267
+
268
+ 宽泛的 `except Exception` 要写理由:`# noqa: BLE001 -- <为什么>`。
269
+
270
+ 本仓是**平台仓**,不是 workspace。`dogfood/` 是用 `tuner-init scaffold dogfood --no-ai` 生成的 workspace 示范
271
+ (被测系统 = 平台本身,uv workspace 成员,共用 `.venv`):路线图在 `dogfood/knowledge/wiki/domain-notes/platform/roadmap.md`,
272
+ 验收活文档在 `dogfood/tests/features/`。见 [`dogfood/README.md`](dogfood/README.md)。
273
+
274
+ 7.0.0 发行说明(TestPilot:`knowledge/` 知识层、配置扩展、端口与自定义 apps、体检 / 升级 / 配置 skill)见 [`docs/changelog/TEMPLATE-7.0.0.md`](docs/changelog/TEMPLATE-7.0.0.md);6.3.0 发行说明(测试单出 GJB438B 报告)见 [`docs/changelog/TEMPLATE-6.3.0.md`](docs/changelog/TEMPLATE-6.3.0.md);6.2.0 发行说明(测试单)见 [`docs/changelog/TEMPLATE-6.2.0.md`](docs/changelog/TEMPLATE-6.2.0.md);6.1.0 发行说明(scaffold 项目名)见 [`docs/changelog/TEMPLATE-6.1.0.md`](docs/changelog/TEMPLATE-6.1.0.md);6.0.0 发行说明(一条用例一个文件)见 [`docs/changelog/TEMPLATE-6.0.0.md`](docs/changelog/TEMPLATE-6.0.0.md);5.3.1 发行说明(已回答提问归档)见 [`docs/changelog/TEMPLATE-5.3.1.md`](docs/changelog/TEMPLATE-5.3.1.md);5.3.0 发行说明(功能用例集 `assets/testcases/`)见 [`docs/changelog/TEMPLATE-5.3.0.md`](docs/changelog/TEMPLATE-5.3.0.md);5.2.0 发行说明(work task / 测试设计 / 证据附件)见 [`docs/changelog/TEMPLATE-5.2.0.md`](docs/changelog/TEMPLATE-5.2.0.md);5.1.0 发行说明(工作台 / meta stamp / `--json`)见 [`docs/changelog/TEMPLATE-5.1.0.md`](docs/changelog/TEMPLATE-5.1.0.md);5.0.0(Plane Job 协议退场、`tuner-workspace`)见 [`TEMPLATE-5.0.0.md`](docs/changelog/TEMPLATE-5.0.0.md);4.3.0 见 [`TEMPLATE-4.3.0.md`](docs/changelog/TEMPLATE-4.3.0.md);3.x → 4.x 迁移见 [`TEMPLATE-4.0.0.md`](docs/changelog/TEMPLATE-4.0.0.md)。平台能力地图见 [`INDEX.md`](INDEX.md)。