FIXUP! update project structure in the readme file

This commit is contained in:
Hosam-Eldin.mostafa 2025-10-24 23:39:09 +02:00
parent 092767ab51
commit 0a18d03d4f

View File

@ -121,6 +121,8 @@ python.exe -m pytest -m hardware -v
ecu_tests/ ecu_tests/
├── ecu_framework/ ├── ecu_framework/
│ ├── config.py # YAML config loader │ ├── config.py # YAML config loader
│ ├── power/
│ │ └── owon_psu.py # Owon PSU serial SCPI controller (library)
│ ├── lin/ │ ├── lin/
│ │ ├── base.py # LinInterface + LinFrame │ │ ├── base.py # LinInterface + LinFrame
│ │ ├── mock.py # Mock LIN adapter │ │ ├── mock.py # Mock LIN adapter
@ -131,11 +133,25 @@ ecu_tests/
│ ├── conftest.py # Shared fixtures │ ├── conftest.py # Shared fixtures
│ ├── test_smoke_mock.py # Mock interface smoke and boundary tests │ ├── test_smoke_mock.py # Mock interface smoke and boundary tests
│ ├── test_babylin_hardware_smoke.py # Hardware smoke tests │ ├── test_babylin_hardware_smoke.py # Hardware smoke tests
│ └── test_hardware_placeholder.py # Future integration tests │ ├── test_babylin_hardware_schedule_smoke.py # Hardware schedule flow
│ ├── test_babylin_wrapper_mock.py # SDK adapter with mock wrapper
│ ├── plugin/
│ │ └── test_conftest_plugin_artifacts.py # Plugin self-test (reports artifacts)
│ ├── unit/
│ │ ├── test_config_loader.py # Config loader unit tests
│ │ ├── test_linframe.py # LIN frame dataclass/logic
│ │ ├── test_hex_flasher.py # Hex flasher scaffolding
│ │ └── test_babylin_adapter_mocked.py # BabyLIN adapter with mocks
│ └── hardware/
│ └── test_owon_psu.py # Owon PSU hardware test (uses central config)
├── config/ ├── config/
│ ├── test_config.yaml # Default config │ ├── test_config.yaml # Default config
│ └── babylin.example.yaml # Hardware template │ ├── babylin.example.yaml # BabyLIN hardware template
│ ├── owon_psu.example.yaml # Owon PSU example (copy to owon_psu.yaml)
│ └── owon_psu.yaml # Optional machine-specific PSU config
├── vendor/ # Place SDK wrapper and platform libs here ├── vendor/ # Place SDK wrapper and platform libs here
│ ├── Owon/
│ │ └── tryout.py # Quick PSU demo using the library & YAML
│ ├── BabyLIN_library.py # Official SDK Python wrapper │ ├── BabyLIN_library.py # Official SDK Python wrapper
│ └── BabyLIN library/ # Platform-specific binaries from SDK (DLL/.so) │ └── BabyLIN library/ # Platform-specific binaries from SDK (DLL/.so)
├── reports/ # Generated reports ├── reports/ # Generated reports