test: merge and update test suite for integrated fedot_ind
- Ngôn ngữ chính
- Python
- Star
- 712
- Fork
- 96
- Merge trung bình
- 3 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 10
Mô tả
## Summary
Restructure and update the test suite to support the merged `fedot/industrial` module, ensuring tests compile and run correctly in the unified repository.
## Motivation
After merging `fedot_ind` into `fedot/industrial`, the test suite must be updated to reflect the new structure, resolve import issues, and ensure that both core and industrial functionality are properly tested.
## Guide-level explanation
* Move `fedot_ind/tests/` to `fedot/industrial/tests/` with collision
* Update import paths in test files from `fedot_ind.*` to `fedot.industrial.*`
* Temporarily mark heavy or long-running industrial tests as `@pytest.mark.slow` or `@pytest.mark.xfail`
* Ensure that test discovery works with `pytest` in the new structure
* Create a `conftest.py` in `fedot/industrial/tests/` if needed for shared fixtures
## Reference-level explanation
* Ensure that tests requiring heavy dependencies (e.g., torch) are skipped if those dependencies are not installed
* Add a minimal test that verifies the industrial module can be imported and initialized
## Drawbacks
Increased test runtime if industrial tests are not properly categorized
## Unresolved Questions
1. Should industrial tests be run by default in CI, or only when extras=["industrial"] are installed?
2. How to handle tests that rely on external data or resources?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.