testing-conventions 0.0.75__tar.gz → 0.0.78__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 (322) hide show
  1. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/PKG-INFO +1 -1
  2. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/CHANGELOG.md +47 -0
  3. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/Cargo.lock +1 -1
  4. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/Cargo.toml +1 -1
  5. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/MIGRATIONS.md +105 -0
  6. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/co_change.rs +13 -0
  7. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/colocated_test.rs +11 -0
  8. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/config.rs +5 -0
  9. testing_conventions-0.0.78/rust/src/e2e.rs +431 -0
  10. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/lib.rs +100 -62
  11. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/lint.rs +45 -0
  12. testing_conventions-0.0.78/rust/src/tiers.rs +124 -0
  13. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/ts.rs +45 -0
  14. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/colocated_test.rs +18 -0
  15. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/colocated_test_e2e.rs +15 -0
  16. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/e2e_attest.rs +58 -21
  17. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/e2e_attest_e2e.rs +13 -13
  18. testing_conventions-0.0.78/rust/tests/e2e_receipts.rs +449 -0
  19. testing_conventions-0.0.78/rust/tests/e2e_receipts_e2e.rs +186 -0
  20. testing_conventions-0.0.78/rust/tests/e2e_verify.rs +579 -0
  21. testing_conventions-0.0.78/rust/tests/e2e_verify_e2e.rs +287 -0
  22. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/pyproject.toml +4 -0
  23. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/src/widget.py +2 -0
  24. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/tests/e2e/support.py +3 -0
  25. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/python_tiers/tests/integration/helper.py +4 -0
  26. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/package.json +4 -0
  27. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/src/widget.test.ts +9 -0
  28. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/src/widget.ts +3 -0
  29. testing_conventions-0.0.78/rust/tests/fixtures/colocated_test/typescript_tiers/tests/integration/helper.ts +5 -0
  30. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/waived/testing-conventions.toml +1 -1
  31. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/clean/pyproject.toml +5 -0
  32. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/clean/src/widget.py +2 -0
  33. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_e2e/pyproject.toml +5 -0
  34. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_e2e/src/widget.py +2 -0
  35. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_integration/pyproject.toml +5 -0
  36. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/red_integration/src/widget.py +2 -0
  37. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/unknown_tier/pyproject.toml +5 -0
  38. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/python/tier_layout/unknown_tier/src/widget.py +2 -0
  39. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/red/package.json +4 -0
  40. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/red/src/widget.ts +3 -0
  41. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/red/tests/integration/flow.test.ts +16 -0
  42. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/unknown_tier/package.json +4 -0
  43. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/unknown_tier/src/widget.ts +3 -0
  44. testing_conventions-0.0.78/rust/tests/fixtures/integration_lint/typescript/tier_layout/unknown_tier/tests/loose.test.ts +8 -0
  45. testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/python/tier_layout/pyproject.toml +5 -0
  46. testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/python/tier_layout/src/widget.py +2 -0
  47. testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/typescript/tier_layout/package.json +4 -0
  48. testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/typescript/tier_layout/src/widget.ts +3 -0
  49. testing_conventions-0.0.78/rust/tests/fixtures/unit_isolation/typescript/tier_layout/tests/integration/flow.test.ts +11 -0
  50. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/integration_lint.rs +26 -0
  51. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/integration_lint_e2e.rs +23 -0
  52. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/py_unit_isolation.rs +8 -0
  53. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/py_unit_isolation_e2e.rs +7 -0
  54. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/rust_integration_lint.rs +8 -0
  55. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/rust_integration_lint_e2e.rs +7 -0
  56. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/ts_integration_lint.rs +16 -0
  57. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/ts_integration_lint_e2e.rs +13 -0
  58. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/unit_isolation.rs +8 -0
  59. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/unit_isolation_e2e.rs +7 -0
  60. testing_conventions-0.0.75/rust/src/e2e.rs +0 -322
  61. testing_conventions-0.0.75/rust/tests/e2e_verify.rs +0 -800
  62. testing_conventions-0.0.75/rust/tests/e2e_verify_e2e.rs +0 -490
  63. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/README.md +0 -0
  64. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/pyproject.toml +0 -0
  65. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/__init__.py +0 -0
  66. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/config/__init__.py +0 -0
  67. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/config/detect.py +0 -0
  68. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/config/tomlcompat.py +0 -0
  69. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/__init__.py +0 -0
  70. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/baseline.py +0 -0
  71. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/cli.py +0 -0
  72. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/config.py +0 -0
  73. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/conftest.py +0 -0
  74. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/main.py +0 -0
  75. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/normalize.py +0 -0
  76. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/parse_args.py +0 -0
  77. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/mutation/session.py +0 -0
  78. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/pytest_plugin/__init__.py +0 -0
  79. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/pytest_plugin/hooks.py +0 -0
  80. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/python/testing_conventions/pytest_plugin/plan.py +0 -0
  81. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/agents.rs +0 -0
  82. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/coverage.rs +0 -0
  83. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/isolation.rs +0 -0
  84. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/main.rs +0 -0
  85. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/mutation.rs +0 -0
  86. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/packaging.rs +0 -0
  87. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/patch_coverage.rs +0 -0
  88. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/violation.rs +0 -0
  89. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/src/workflow.rs +0 -0
  90. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/co_change.rs +0 -0
  91. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/co_change_e2e.rs +0 -0
  92. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/common/mod.rs +0 -0
  93. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/config_lines.rs +0 -0
  94. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/config_loader.rs +0 -0
  95. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage.rs +0 -0
  96. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base.rs +0 -0
  97. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_e2e.rs +0 -0
  98. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_rust.rs +0 -0
  99. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_rust_e2e.rs +0 -0
  100. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_ts.rs +0 -0
  101. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_base_ts_e2e.rs +0 -0
  102. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_e2e.rs +0 -0
  103. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_features.rs +0 -0
  104. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_features_e2e.rs +0 -0
  105. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_line_exempt_e2e.rs +0 -0
  106. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_metrics.rs +0 -0
  107. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_metrics_e2e.rs +0 -0
  108. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_rust.rs +0 -0
  109. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_rust_e2e.rs +0 -0
  110. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_ts.rs +0 -0
  111. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/coverage_ts_e2e.rs +0 -0
  112. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/diff_scoping.rs +0 -0
  113. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/bad_exempt/cli.py +0 -0
  114. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/bad_exempt/testing-conventions.toml +0 -0
  115. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/clean/pkg/helper.py +0 -0
  116. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/clean/widget.py +0 -0
  117. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_conftest/conftest.py +0 -0
  118. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_conftest/widget.py +0 -0
  119. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/__init__.py +0 -0
  120. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/cli.py +0 -0
  121. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/core.py +0 -0
  122. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/pkg/__init__.py +0 -0
  123. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/python_exempt/testing-conventions.toml +0 -0
  124. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/lonely.py +0 -0
  125. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/pkg/orphan.py +0 -0
  126. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/pkg/paired.py +0 -0
  127. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/red/widget.py +0 -0
  128. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/stale_exempt/core.py +0 -0
  129. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/stale_exempt/testing-conventions.toml +0 -0
  130. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/ambient.d.mts +0 -0
  131. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/button.test.tsx +0 -0
  132. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/button.tsx +0 -0
  133. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/legacy.cts +0 -0
  134. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/legacy.test.cts +0 -0
  135. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/pkg/helper.test.ts +0 -0
  136. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/pkg/helper.ts +0 -0
  137. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/service.mts +0 -0
  138. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/service.test.mts +0 -0
  139. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/types.d.ts +0 -0
  140. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/widget.test.ts +0 -0
  141. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/clean/widget.ts +0 -0
  142. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/index.ts +0 -0
  143. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/testing-conventions.toml +0 -0
  144. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/widget.test.ts +0 -0
  145. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/exempt/widget.ts +0 -0
  146. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/bridge.cts +0 -0
  147. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/lonely.ts +0 -0
  148. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/pkg/orphan.ts +0 -0
  149. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/shapes.d.cts +0 -0
  150. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/shapes.d.ts +0 -0
  151. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/solo.mts +0 -0
  152. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/widget.test.ts +0 -0
  153. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/colocated_test/typescript/red/widget.ts +0 -0
  154. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/e2e_extra_scope.toml +0 -0
  155. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/e2e_extra_scope_only.toml +0 -0
  156. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/e2e_unknown_key.toml +0 -0
  157. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt.toml +0 -0
  158. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_empty_reason.toml +0 -0
  159. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_lines.toml +0 -0
  160. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_lines_bad_rule.toml +0 -0
  161. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/exempt_no_reason.toml +0 -0
  162. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/constant_patch/waived/testing-conventions.toml +0 -0
  163. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/environ/waived/testing-conventions.toml +0 -0
  164. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/inline_patch/waived/testing-conventions.toml +0 -0
  165. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/legacy_prefix/test_widget.py +0 -0
  166. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/monkeypatch/waived/testing-conventions.toml +0 -0
  167. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/clean/pyproject.toml +0 -0
  168. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/red/pyproject.toml +0 -0
  169. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/python/no_first_party_patch/waived/pyproject.toml +0 -0
  170. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/clean/charge.test.ts +0 -0
  171. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/clean/views/report.test.tsx +0 -0
  172. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/red/charge.test.ts +0 -0
  173. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/integration_lint/typescript/no_first_party_mock/red/notify.test.mts +0 -0
  174. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/isolation/unit/stale_exempt.toml +0 -0
  175. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/malformed.toml +0 -0
  176. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_clean/widget.py +0 -0
  177. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_red/widget.py +0 -0
  178. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_sdist/clean-0.1.0.tar.gz +0 -0
  179. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_sdist/make_sdist.py +0 -0
  180. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_sdist/widget-0.1.0.tar.gz +0 -0
  181. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_wheel/clean.whl +0 -0
  182. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_wheel/make_wheels.py +0 -0
  183. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/python_wheel/red.whl +0 -0
  184. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/rust_crate/clean-0.1.0.crate +0 -0
  185. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/rust_crate/make_crates.py +0 -0
  186. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/rust_crate/widget-0.1.0.crate +0 -0
  187. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_clean/button.ts +0 -0
  188. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_npm/clean.tgz +0 -0
  189. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_npm/make_tarballs.py +0 -0
  190. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_npm/red.tgz +0 -0
  191. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_red/button.test.ts +0 -0
  192. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/packaging/typescript_red/button.ts +0 -0
  193. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/partial_coverage.toml +0 -0
  194. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/python_build_command.toml +0 -0
  195. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/python_build_command_blank_reason.toml +0 -0
  196. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/python_build_command_no_reason.toml +0 -0
  197. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/rust_build_command.toml +0 -0
  198. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/typescript_build_command.toml +0 -0
  199. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/typescript_build_command_blank_reason.toml +0 -0
  200. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/floor100.toml +0 -0
  201. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/floor100_exempt_shim.toml +0 -0
  202. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/floor85.toml +0 -0
  203. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_py_shim_ok.toml +0 -0
  204. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_py_shim_over.toml +0 -0
  205. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_py_shim_under.toml +0 -0
  206. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_rust_over.toml +0 -0
  207. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_rust_shim_ok.toml +0 -0
  208. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_ts_over.toml +0 -0
  209. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/lines_ts_shim_ok.toml +0 -0
  210. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/above_85/router.py +0 -0
  211. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/below_85/grade.py +0 -0
  212. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/conftest_omit/conftest.py +0 -0
  213. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/conftest_omit/widget.py +0 -0
  214. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/exempt_cov/core.py +0 -0
  215. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/exempt_cov/shim.py +0 -0
  216. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/python/full/widget.py +0 -0
  217. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_branch_full.toml +0 -0
  218. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_branch_mid.toml +0 -0
  219. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_features_full.toml +0 -0
  220. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_full.toml +0 -0
  221. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_full_exempt_shim.toml +0 -0
  222. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_functions_full.toml +0 -0
  223. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_functions_mid.toml +0 -0
  224. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/rust_mid.toml +0 -0
  225. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/above/router.test.ts +0 -0
  226. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/above/router.ts +0 -0
  227. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/below/grade.test.ts +0 -0
  228. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/below/grade.ts +0 -0
  229. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/core.test.ts +0 -0
  230. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/core.ts +0 -0
  231. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/shim.test.ts +0 -0
  232. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/exempt_cov/shim.ts +0 -0
  233. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full/widget.test.ts +0 -0
  234. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full/widget.ts +0 -0
  235. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full_with_config/vitest.config.ts +0 -0
  236. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full_with_config/widget.test.ts +0 -0
  237. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/full_with_config/widget.ts +0 -0
  238. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/package-lock.json +0 -0
  239. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/package.json +0 -0
  240. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/ts_full.toml +0 -0
  241. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/ts_full_exempt_shim.toml +0 -0
  242. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_coverage/typescript/ts_mid.toml +0 -0
  243. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/clean/myproject/__init__.py +0 -0
  244. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/clean/myproject/core.py +0 -0
  245. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/clean/pyproject.toml +0 -0
  246. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/red/myproject/__init__.py +0 -0
  247. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/red/myproject/core.py +0 -0
  248. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/barrel/red/pyproject.toml +0 -0
  249. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/clean/pyproject.toml +0 -0
  250. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/clean/pyproject.toml +0 -0
  251. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/red/pyproject.toml +0 -0
  252. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/waived/pyproject.toml +0 -0
  253. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/external/waived/testing-conventions.toml +0 -0
  254. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/legacy_prefix/pyproject.toml +0 -0
  255. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/legacy_prefix/test_widget.py +0 -0
  256. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/overmatch/clean/pyproject.toml +0 -0
  257. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/overmatch/red/pyproject.toml +0 -0
  258. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/red/pyproject.toml +0 -0
  259. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/waived/pyproject.toml +0 -0
  260. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/waived/testing-conventions.toml +0 -0
  261. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/python/wrong_module/red/pyproject.toml +0 -0
  262. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/clean/widget.test.ts +0 -0
  263. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/ext_normalize/clean/widget.test.ts +0 -0
  264. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/red/widget.test.ts +0 -0
  265. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/untyped_mock/clean/widget.test.ts +0 -0
  266. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/untyped_mock/red/widget.test.ts +0 -0
  267. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_isolation/typescript/untyped_mock/spy_clean/widget.test.ts +0 -0
  268. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_py_ok.toml +0 -0
  269. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_py_over.toml +0 -0
  270. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_rust_ok.toml +0 -0
  271. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_rust_over.toml +0 -0
  272. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_ts_ok.toml +0 -0
  273. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_ts_over.toml +0 -0
  274. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/lines_mut_ts_under.toml +0 -0
  275. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/mutation_exempt.toml +0 -0
  276. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/mutation_exempt_py.toml +0 -0
  277. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/mutation_exempt_ts.toml +0 -0
  278. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/python/killed/calc.py +0 -0
  279. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/python/survivors/calc.py +0 -0
  280. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/rust_features.toml +0 -0
  281. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/killed/index.test.ts +0 -0
  282. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/killed/index.ts +0 -0
  283. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/killed/stryker.conf.json +0 -0
  284. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/package-lock.json +0 -0
  285. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/package.json +0 -0
  286. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/survivors/index.test.ts +0 -0
  287. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/survivors/index.ts +0 -0
  288. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unit_mutation/typescript/survivors/stryker.conf.json +0 -0
  289. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unknown_coverage_field.toml +0 -0
  290. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/unknown_key.toml +0 -0
  291. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/valid.toml +0 -0
  292. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/workflow/clean/conventions.yml +0 -0
  293. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/workflow/install_line/conventions.yml +0 -0
  294. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/fixtures/workflow/red/conventions.yml +0 -0
  295. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/install.rs +0 -0
  296. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/install_e2e.rs +0 -0
  297. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/isolation.rs +0 -0
  298. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/isolation_e2e.rs +0 -0
  299. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_base_py.rs +0 -0
  300. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_base_rust.rs +0 -0
  301. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_base_ts.rs +0 -0
  302. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_features_e2e.rs +0 -0
  303. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_line_exempt_e2e.rs +0 -0
  304. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_provision_rust.rs +0 -0
  305. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_python.rs +0 -0
  306. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_python_e2e.rs +0 -0
  307. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_rust.rs +0 -0
  308. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_rust_e2e.rs +0 -0
  309. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_typescript.rs +0 -0
  310. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/mutation_typescript_e2e.rs +0 -0
  311. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging.rs +0 -0
  312. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_crate.rs +0 -0
  313. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_crate_e2e.rs +0 -0
  314. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_e2e.rs +0 -0
  315. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_npm.rs +0 -0
  316. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_npm_e2e.rs +0 -0
  317. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_sdist.rs +0 -0
  318. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_sdist_e2e.rs +0 -0
  319. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_wheel.rs +0 -0
  320. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/packaging_wheel_e2e.rs +0 -0
  321. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/workflow.rs +0 -0
  322. {testing_conventions-0.0.75 → testing_conventions-0.0.78}/rust/tests/workflow_e2e.rs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testing-conventions
3
- Version: 0.0.75
3
+ Version: 0.0.78
4
4
  Requires-Dist: cosmic-ray
5
5
  Requires-Dist: coverage
6
6
  Summary: Enforce testing conventions in libraries (Python, TypeScript, and Rust).
@@ -5,8 +5,55 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ### Changed
9
+
10
+ - **E2E attestation is one branch-keyed decision per branch, not a SHA-fresh stamp per push.**
11
+ `e2e attest '<cmd>'` now writes `e2e-attestations/<branch-slug>.json` — keyed by the
12
+ branch so parallel pull requests write distinct files and never merge-conflict — recording the
13
+ command, timestamp, exit code, commit, and branch; it prunes the receipts other branches left
14
+ behind. The command is unrestricted and *is* the judgment being recorded: the full suite, a
15
+ subset, or a no-op are all valid receipts. `e2e verify --base <ref>` asks two content questions
16
+ of `<base>...HEAD`: a branch that left the scoped source untouched passes with no receipt owed,
17
+ and a branch that changed it passes when its diff adds or updates a receipt. It no longer
18
+ compares commit SHAs, so one receipt covers the branch — later pushes stay green, and rebases
19
+ and squash merges never disturb it. Without `--base`, `verify` checks receipt presence.
20
+ The filename derivation is public: **`e2e slug [branch]`** prints the standardized slug
21
+ (default: the checked-out branch), and `e2e::branch_slug` exposes it in the crate API;
22
+ `Attestation` gains a `branch` field recording the raw name. `attest` requires a checked-out
23
+ branch (a detached `HEAD` is an error naming the fix) and collects a committed legacy
24
+ `e2e-attestation.json` in the same receipt commit.
25
+ **Breaking:** the single `e2e-attestation.json` is replaced by the `e2e-attestations/`
26
+ directory (`e2e::ATTESTATION_PATH` by `e2e::RECEIPTS_DIR`), `Verification::Stale` is gone,
27
+ and the exact-match freshness contract is retired. See `MIGRATIONS.md`.
28
+
29
+ - **The suite tiers derive from the package root** (#418). `integration lint` takes its subjects
30
+ from the standard suite directories — `<package root>/tests/integration/` and
31
+ `<package root>/tests/e2e/`, both run first-party code for real and so both are held to the
32
+ integration rules — where the package root is the nearest directory at or above the scanned
33
+ `path` holding the language's manifest (`pyproject.toml`, `package.json`, `Cargo.toml`; the walk
34
+ stops at the repository boundary). Rust scans the crate root's `tests/`, cargo's own layout. A
35
+ test file under `<package root>/tests/` outside a standard tier is flagged by the new
36
+ **`unknown-tier`** violation (waivable like any rule), so a suite the scan would silently miss
37
+ is an error instead. The unit-tier scans (`unit colocated-test`, its co-change variant,
38
+ `unit lint`) leave `<package root>/tests/` to the suites. A tree with no manifest — loose
39
+ scripts — is scanned at `path` directly, unchanged. One workflow call per package now runs every
40
+ tier from a single `path`. **Breaking:** integration suites are found via the package root
41
+ rather than the scanned `path`, integration-lint exemption paths resolve relative to the package
42
+ root, `config::Rule` gains a variant, and the unit-tier gates release their claim on
43
+ `<package root>/tests/`. See `MIGRATIONS.md`.
44
+
8
45
  ### Fixed
9
46
 
47
+ - **The Rust-build cache in the suite-executing and packaging jobs now keys on the
48
+ workspace-aware `target/` location** (#410). Cargo resolves the target directory at the
49
+ *workspace* root regardless of the invoking working directory, but the cache path was always
50
+ `<package_root>/target` — so a crate that's a member of an ancestor Cargo workspace cached a
51
+ directory `cargo` never wrote to, and every job recompiled the same wheel from scratch. The
52
+ cache path now redirects to the workspace root's `target/` for a workspace member, and is
53
+ unchanged for a standalone crate (or one that's itself the workspace root). Every
54
+ `astral-sh/setup-uv@v7` step in these jobs also gains an explicit `enable-cache: true`. No
55
+ config or API change; the `uses:` call is unchanged. See `MIGRATIONS.md`.
56
+
10
57
  - **`e2e verify`: a `--scope` (or `--extra-scope`) that resolves to no tracked path is now an error
11
58
  instead of a silent false `Fresh`** (#391). The documented "`--scope` must be `path` or a
12
59
  descendant of it" constraint was never enforced: a typo'd or outside `--scope` fell through as a
@@ -1203,7 +1203,7 @@ dependencies = [
1203
1203
 
1204
1204
  [[package]]
1205
1205
  name = "testing-conventions"
1206
- version = "0.0.75"
1206
+ version = "0.0.78"
1207
1207
  dependencies = [
1208
1208
  "anyhow",
1209
1209
  "clap",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "testing-conventions"
3
- version = "0.0.75"
3
+ version = "0.0.78"
4
4
  edition = "2021"
5
5
  license = "MIT"
6
6
  authors = ["Kevin Scott <me@thekevinscott.com>"]
@@ -15,6 +15,31 @@ Each entry has five sections, in order:
15
15
 
16
16
  ### Summary
17
17
 
18
+ Retires the exact-match e2e freshness contract in favor of **one branch-keyed decision per
19
+ branch**. `e2e attest '<cmd>'` writes `e2e-attestations/<branch-slug>.json` — parallel
20
+ pull requests write distinct files, so attestation merge conflicts are structurally gone — and
21
+ prunes the receipts other branches left behind. The command is unrestricted and is itself the
22
+ judgment being recorded: the full suite, a targeted subset, or a no-op are all valid receipts.
23
+ `e2e verify --base <ref>` asks two content questions of `<base>...HEAD`: did the branch change
24
+ the scoped source (no → pass, nothing owed), and does its diff add or update a receipt (yes →
25
+ pass; no → fail, naming `attest` as the fix). Commit SHAs are no longer compared, so one receipt
26
+ covers the branch — later pushes stay green, and rebases and squash merges never disturb it.
27
+ Without `--base`, `verify` checks that a committed receipt is present.
28
+
29
+ Derives the suite tiers from the package root (#418). `integration lint` takes its subjects from
30
+ the standard suite directories — `<package root>/tests/integration/` and
31
+ `<package root>/tests/e2e/`, both of which run first-party code for real and so are held to the
32
+ integration rules — where the package root is the nearest directory at or above the scanned
33
+ `path` holding the language's manifest (`pyproject.toml`, `package.json`, `Cargo.toml`), the walk
34
+ stopping at the repository boundary. Rust scans the crate root's `tests/`, cargo's own layout. A
35
+ test file under `<package root>/tests/` outside a standard tier is flagged by the new
36
+ `unknown-tier` violation (waivable like any rule). The unit-tier scans (`unit colocated-test`,
37
+ its co-change variant, `unit lint`) leave `<package root>/tests/` to the suites. A tree with no
38
+ manifest — loose scripts — is scanned at `path` directly, unchanged. One workflow call per
39
+ package now runs every tier from a single `path`; the split unit-job/integration-job pattern (a
40
+ second `uses:` call with `path` pointed at the integration directory and a `gates` allowlist)
41
+ collapses into the package's one call.
42
+
18
43
  Consolidates the reusable workflow's Python provisioning to uv (#399). The suite-executing jobs
19
44
  (`unit-coverage`, `coverage-changed`, `mutation`) provisioned Python two ways, selected by
20
45
  detect's `python_env`: `actions/setup-python` + `python -m pip install` for a plain package, or
@@ -700,6 +725,34 @@ and `--base` semantics are unchanged; only the consumer-visible **check names**
700
725
 
701
726
  ### Required changes
702
727
 
728
+ **Re-attest once per open branch; delete the legacy `e2e-attestation.json`.** The single-file
729
+ attestation is replaced by the `e2e-attestations/` directory. A branch open across the upgrade
730
+ that changed scoped source runs `e2e attest '<cmd>'` once (writing its branch-keyed receipt); the
731
+ legacy file at the package root is deleted whenever convenient — `verify` no longer reads it.
732
+ `attest` must run on a checked-out branch: a detached `HEAD` is an error naming the fix.
733
+
734
+ `e2e::Verification` loses its `Stale { attested, latest }` variant — freshness is no longer a
735
+ SHA comparison — and `e2e::ATTESTATION_PATH` (the single-file location) is replaced by the
736
+ receipts-directory constant. Exhaustive `match`es on `Verification` drop the `Stale` arm.
737
+
738
+ **Move each suite to its standard tier, or exempt it** (#418). `integration lint` finds the
739
+ integration and e2e suites at `<package root>/tests/integration/` and `<package root>/tests/e2e/`
740
+ (Rust: the crate root's `tests/`). A Python/TypeScript package whose suites live elsewhere moves
741
+ them into the standard directories; a test file left under `<package root>/tests/` outside a tier
742
+ fails with `unknown-tier` (waivable per file with a reasoned `exempt` entry). A repo carrying a
743
+ separate integration-lint `uses:` call (`path` pointed at the integration directory, narrowed with
744
+ `gates`) drops it — the package's own call now lints the suites.
745
+
746
+ **Re-root integration-lint exemption paths at the package root** (#418). With a derived package
747
+ root, `integration lint` resolves `exempt` paths relative to the package root instead of the
748
+ scanned `path`. An exemption for a suite file updates its `path` accordingly (e.g.
749
+ `billing_test.py` scanned at `tests/integration` becomes `tests/integration/billing_test.py` on
750
+ the package's single call). A loose-script tree (no manifest) keeps scan-root-relative resolution.
751
+
752
+ `config::Rule` gains the `UnknownTier` variant (id `unknown-tier`) (#418). Exhaustive `match`es on
753
+ `Rule` add an arm; `testing-conventions.toml` files parse unchanged, and `rules =
754
+ ["unknown-tier"]` is now accepted in an `exempt` entry.
755
+
703
756
  **Branch protection: swap the static-gate check names** (#410). The four static gates are now steps
704
757
  of one `Static checks (<language>)` job per language, so the four old per-language check names no
705
758
  longer appear. Any branch-protection required-check list (or merge-queue / status-check
@@ -952,6 +1005,35 @@ a deprecation cycle (pre-1.0, so no prior warning was shipped).
952
1005
 
953
1006
  ### Behavior changes without code changes
954
1007
 
1008
+ The `e2e verify` gate re-demands a receipt only when scoped **content** changes, once per branch.
1009
+ A branch that attests and then pushes further scoped commits stays green (previously each scoped
1010
+ push re-demanded a fresh attestation naming its newest commit); a rebase or squash merge leaves a
1011
+ receipt standing (previously either could strand the recorded SHA and red the gate with nothing
1012
+ to re-run). The reusable workflow's e2e-verify job discovers receipts at `e2e-attestations/`
1013
+ instead of the single `e2e-attestation.json`, so a repo that has not yet re-attested with the new
1014
+ CLI has its gate skip (verify-if-present) rather than fail until its next scoped branch attests.
1015
+
1016
+ `integration lint` scans the derived suite tiers instead of the scanned `path` (#418). Three
1017
+ verdicts can move at the same invocation: a suite beside the scanned source directory is now
1018
+ linted (violations it always carried now fail the gate — previously the scan never reached it); a
1019
+ colocated unit test under the scanned `path` is no longer an integration-lint subject (unit tests
1020
+ patch first-party collaborators by design, so a false red there disappears); and a test file
1021
+ under `<package root>/tests/` outside a standard tier fails with `unknown-tier` where it was
1022
+ previously invisible. The unit-tier gates release `<package root>/tests/`: `unit lint` stops
1023
+ flagging integration/e2e tests as un-isolated units, and `unit colocated-test` (and co-change)
1024
+ stop demanding colocated twins for suite helpers.
1025
+
1026
+ The suite-executing jobs' (`unit-coverage`, `coverage-changed`, `mutation`) and `packaging`'s
1027
+ Rust-build cache now keys on the workspace-aware `target/` location, not the derived package root
1028
+ unconditionally (#410). Cargo resolves the target directory at the *workspace* root regardless of
1029
+ the invoking working directory, so a crate that's a member of an ancestor Cargo workspace now
1030
+ caches at that workspace root's `target/`; a standalone crate (or one that's itself the workspace
1031
+ root) is unaffected — its cache location is unchanged. A monorepo package whose crate is a
1032
+ workspace member (dirsql PR #410's own case) sees its `uv sync` maturin build's cache actually hit
1033
+ on the second run instead of archiving (and restoring) an empty directory every time. Every
1034
+ `astral-sh/setup-uv@v7` step in the suite/packaging jobs also gains an explicit `enable-cache:
1035
+ true`. The `uses:` call is unchanged; no config or API change.
1036
+
955
1037
  The reusable workflow provisions Python with uv in every suite-executing job (#399); the
956
1038
  `actions/setup-python` + `python -m pip install` arm is gone. A plain (`python_env == 'pip'`)
957
1039
  package's suite now runs from a `uv venv` at the derived package root instead of the runner's
@@ -1183,6 +1265,29 @@ Exemptions (#32) change runtime behavior:
1183
1265
 
1184
1266
  ### Verification
1185
1267
 
1268
+ ```
1269
+ git checkout -b tc-migration-check
1270
+ testing-conventions e2e attest 'true'
1271
+ ls e2e-attestations/
1272
+ testing-conventions e2e verify --base origin/main
1273
+ ```
1274
+
1275
+ Expected: `attest` commits one `e2e-attestations/<branch-slug>.json` naming the branch;
1276
+ `verify` passes. Push a scoped source change on a second branch without attesting and `verify
1277
+ --base origin/main` fails there, naming `e2e attest` as the fix; rebasing the attested branch
1278
+ onto a moved `main` leaves its `verify` green.
1279
+
1280
+ ```
1281
+ testing-conventions integration lint --language python <package>/src
1282
+ testing-conventions unit lint --language python <package>
1283
+ ```
1284
+
1285
+ Expected: the first call reports violations from `<package>/tests/integration` and
1286
+ `<package>/tests/e2e` (and `unknown-tier` for any stray `*_test.py` under `<package>/tests/`)
1287
+ even though `path` is the source directory; the second reports nothing for files under
1288
+ `<package>/tests/` (#418). In-repo, the dogfood `checks` job (`internals/checks/src`) now lints
1289
+ `internals/checks/tests/integration` + `tests/e2e` on the same single call, green.
1290
+
1186
1291
  ```
1187
1292
  uv run --project internals/checks tc-checks uv-provisioning-wired
1188
1293
  grep -c 'python -m pip install' .github/workflows/testing-conventions.yml || true
@@ -50,6 +50,13 @@ pub fn stale_sources(
50
50
  // Every changed path, so a subject's expected test is a set lookup rather
51
51
  // than a second walk of the diff.
52
52
  let changed: BTreeSet<&str> = entries.iter().map(|(_, path)| path.as_str()).collect();
53
+ // `<package root>/tests/` belongs to the suite tiers (integration / e2e),
54
+ // so nothing under it is a co-change subject.
55
+ let suite_tests = match language {
56
+ Language::Python => crate::tiers::suite_tests_dir(repo, "pyproject.toml"),
57
+ Language::TypeScript => crate::tiers::suite_tests_dir(repo, "package.json"),
58
+ Language::Rust => None,
59
+ };
53
60
 
54
61
  let mut stale = Vec::new();
55
62
  for (status, rel) in &entries {
@@ -59,6 +66,12 @@ pub fn stale_sources(
59
66
  if !language.tracks(path) || language.is_test(path) || language.is_support(path) {
60
67
  continue;
61
68
  }
69
+ if suite_tests
70
+ .as_ref()
71
+ .is_some_and(|tests| repo.join(path).starts_with(tests))
72
+ {
73
+ continue;
74
+ }
62
75
  let expected = language
63
76
  .expected_test_path(path)
64
77
  .to_string_lossy()
@@ -120,6 +120,17 @@ pub fn missing_unit_tests(
120
120
  let root = root.as_ref();
121
121
  let mut files = Vec::new();
122
122
  collect_files(root, language, &mut files)?;
123
+ // `<package root>/tests/` belongs to the suite tiers (integration / e2e),
124
+ // so nothing under it is a colocated-unit subject. Rust's walk already
125
+ // skips `tests/` (an integration-crate directory in cargo's own layout).
126
+ let manifest = match language {
127
+ Language::Python => Some("pyproject.toml"),
128
+ Language::TypeScript => Some("package.json"),
129
+ Language::Rust => None,
130
+ };
131
+ if let Some(tests) = manifest.and_then(|m| crate::tiers::suite_tests_dir(root, m)) {
132
+ files.retain(|file| !file.starts_with(&tests));
133
+ }
123
134
 
124
135
  // Every tracked path we found, so a subject's expected twin is a lookup
125
136
  // rather than a second pass over the filesystem.
@@ -241,6 +241,9 @@ pub enum Rule {
241
241
  UntypedMock,
242
242
  /// `integration lint` — a `vi.mock` of a first-party module in a TS integration test.
243
243
  NoFirstPartyMock,
244
+ /// `integration lint` — a test file under `<package root>/tests/` outside a
245
+ /// standard suite tier (`tests/integration/`, `tests/e2e/`).
246
+ UnknownTier,
244
247
  /// `unit mutation` — a surviving mutant the unit suite didn't catch ([`crate::mutation`]).
245
248
  Mutation,
246
249
  }
@@ -272,6 +275,7 @@ impl Rule {
272
275
  Rule::UnmockedCollaborator => "unmocked-collaborator",
273
276
  Rule::UntypedMock => "untyped-mock",
274
277
  Rule::NoFirstPartyMock => "no-first-party-mock",
278
+ Rule::UnknownTier => "unknown-tier",
275
279
  Rule::Mutation => "mutation",
276
280
  }
277
281
  }
@@ -293,6 +297,7 @@ impl Rule {
293
297
  Rule::UnmockedCollaborator,
294
298
  Rule::UntypedMock,
295
299
  Rule::NoFirstPartyMock,
300
+ Rule::UnknownTier,
296
301
  Rule::Mutation,
297
302
  ]
298
303
  .into_iter()