Problem
Currently, the integration tests require the full CLP package to be built before running any tests, even when only testing core functionality. This is due to the PackageConfig.__post_init__ validation in integration-tests/tests/utils/config.py which checks that the package directory is complete before any pytest execution begins.
Current Behavior
- The
tests:integration:core task depends on ::package
- All integration tests validate both core binaries and package structure upfront
- Core-only tests unnecessarily wait for full package build completion
Desired Behavior
- Core tests (marked with the
core pytest flag) should only require core binaries to be built
- The
tests:integration:core task dependency should be ::core instead of ::package
- Package-specific tests can continue to depend on
::package
Technical Details
The issue stems from the current fixture architecture where PackageConfig validation runs for all test sessions regardless of which specific tests are being executed. This prevents selective dependency optimization based on test markers.
Solution
Restructure the pytest fixture system to:
- Allow conditional package validation based on test markers
- Enable core tests to run independently of package build status
- Maintain package validation for tests that actually require it
References
Problem
Currently, the integration tests require the full CLP package to be built before running any tests, even when only testing core functionality. This is due to the
PackageConfig.__post_init__validation inintegration-tests/tests/utils/config.pywhich checks that the package directory is complete before any pytest execution begins.Current Behavior
tests:integration:coretask depends on::packageDesired Behavior
corepytest flag) should only require core binaries to be builttests:integration:coretask dependency should be::coreinstead of::package::packageTechnical Details
The issue stems from the current fixture architecture where
PackageConfigvalidation runs for all test sessions regardless of which specific tests are being executed. This prevents selective dependency optimization based on test markers.Solution
Restructure the pytest fixture system to:
References
clp&clp-scompression. #1100clp&clp-scompression. #1100 (comment)