testing-conventions 0.0.7__tar.gz → 0.0.8__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.
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/PKG-INFO +1 -1
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/CHANGELOG.md +7 -0
- testing_conventions-0.0.8/rust/Cargo.lock +843 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/Cargo.toml +2 -1
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/MIGRATIONS.md +16 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/src/lib.rs +50 -0
- testing_conventions-0.0.8/rust/src/lint.rs +187 -0
- testing_conventions-0.0.8/rust/tests/fixtures/integration_lint/python/clean/uses_patch_fixture_test.py +17 -0
- testing_conventions-0.0.8/rust/tests/fixtures/integration_lint/python/red/uses_monkeypatch_test.py +9 -0
- testing_conventions-0.0.8/rust/tests/integration_lint.rs +84 -0
- testing_conventions-0.0.8/rust/tests/integration_lint_e2e.rs +34 -0
- testing_conventions-0.0.7/rust/Cargo.lock +0 -338
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/README.md +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/pyproject.toml +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/src/config.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/src/coverage.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/src/location.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/src/main.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/config_loader.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/coverage.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/coverage_e2e.rs +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/malformed.toml +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/floor100.toml +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/floor85.toml +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/python/above_85/router.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/python/above_85/router_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/python/below_85/grade.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/python/below_85/grade_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/python/full/widget.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_coverage/python/full/widget_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/clean/pkg/helper.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/clean/pkg/helper_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/clean/widget.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/clean/widget_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/exempt/__init__.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/exempt/pkg/__init__.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/exempt/widget.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/exempt/widget_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/red/lonely.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/red/pkg/orphan.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/red/pkg/paired.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/red/pkg/paired_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/red/widget.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/red/widget_test.py +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/ambient.d.mts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/button.test.tsx +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/button.tsx +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/legacy.cts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/legacy.test.cts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/pkg/helper.test.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/pkg/helper.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/service.mts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/service.test.mts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/types.d.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/widget.test.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/clean/widget.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/bridge.cts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/lonely.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/pkg/orphan.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/shapes.d.cts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/shapes.d.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/solo.mts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/widget.test.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unit_location/typescript/red/widget.ts +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/unknown_key.toml +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/fixtures/valid.toml +0 -0
- {testing_conventions-0.0.7 → testing_conventions-0.0.8}/rust/tests/unit_location.rs +0 -0
|
@@ -27,6 +27,13 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
27
27
|
and exits non-zero if below. Library API: `coverage::{measure, evaluate,
|
|
28
28
|
parse_report, Thresholds, CoverageReport, Outcome}`. First rule to consume
|
|
29
29
|
`load_config`. (#26)
|
|
30
|
+
- `lint` module + `integration lint` CLI — the first deterministic *lint* on test
|
|
31
|
+
code. `integration lint --language python <PATH>` parses each Python test file
|
|
32
|
+
(`*_test.py`, `test_*.py`, `conftest.py`) with `rustpython_parser` and walks the
|
|
33
|
+
AST, exiting non-zero on any violation. First lint:
|
|
34
|
+
**`no-monkeypatch`** (#49) — a test/fixture that declares the `monkeypatch`
|
|
35
|
+
parameter (patch with `unittest.mock` wrapped in a `pytest.fixture` instead).
|
|
36
|
+
Library API: `testing_conventions::lint::{find_violations, Violation}`. (#48, #49)
|
|
30
37
|
|
|
31
38
|
### Changed
|
|
32
39
|
|