@@ -34,7 +34,7 @@ All planned phases of the refactoring have been successfully completed. The code
3434- ` setuptools_scm.version_scheme ` - Version schemes
3535- ` vcs-versioning ` script
3636
37- ** Tests** : 79 passing
37+ ** Tests** : 111 passing (includes backend tests: git, mercurial, hg-git)
3838
3939### setuptools-scm (Integration Package)
4040** Location** : Root directory
@@ -61,18 +61,25 @@ All planned phases of the refactoring have been successfully completed. The code
6161- ` setuptools.finalize_distribution_options ` hooks
6262- ` setuptools_scm.files_command ` - File finders
6363
64- ** Tests** : 329 passing, 10 skipped, 1 xfailed
64+ ** Tests** : 297 passing (setuptools and integration tests) , 10 skipped, 1 xfailed
6565
6666## Test Results
6767
6868```
69- ✅ vcs-versioning: 79 passed
70- ✅ setuptools_scm: 329 passed, 10 skipped, 1 xfailed
69+ ✅ vcs-versioning: 111 passed (core + backend tests)
70+ ✅ setuptools_scm: 297 passed, 10 skipped, 1 xfailed
7171━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
7272 Total: 408 tests passing
7373```
7474
75- ** Parallel execution time** : ~ 15 seconds with ` -n12 `
75+ ** Parallel execution time** : ~ 16 seconds with ` -n12 `
76+
77+ ### Test Infrastructure
78+ - ** Unified pytest plugin** : ` vcs_versioning.test_api `
79+ - Provides ` WorkDir ` , ` DebugMode ` , and shared fixtures
80+ - Used by both packages via ` pytest_plugins = ["vcs_versioning.test_api"] `
81+ - ** Test directory** : ` testingB/ ` (renamed to avoid pytest conftest path conflict)
82+ - ** Backend tests migrated** : ` test_git.py ` , ` test_mercurial.py ` , ` test_hg_git.py ` now in vcs-versioning
7683
7784## Key Achievements
7885
@@ -150,11 +157,13 @@ setuptools_scm/
150157 ├── src/vcs_versioning/
151158 │ ├── __init__.py # Public API
152159 │ ├── config.py # Configuration (public)
160+ │ ├── test_api.py # Pytest plugin (public)
161+ │ ├── _test_utils.py # WorkDir class (private)
153162 │ ├── _backends/ # VCS implementations (private)
154163 │ ├── _version_schemes.py # Schemes (private)
155164 │ ├── _cli.py # CLI (private)
156165 │ └── ... # Other private modules
157- └── testing / # Core tests (79 )
166+ └── testingB / # Core + backend tests (111 )
158167```
159168
160169## Commands Reference
0 commit comments