aimclub / aimclub/FEDOT

test: merge and update test suite for integrated fedot_ind

Offen
#1,413 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
refactoring test
Vorherrschende Sprache
Python
Sterne
712
Forks
96
Ø Merge
3 T. 1 Std.
Gemergte PRs (30 T.)
10

Beschreibung

## 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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.