Refactor: rename SimDUT, restructure DUT simulation and test flow

This commit is contained in:
2025-07-21 15:57:15 -06:00
parent 27064417dd
commit 4a1f943126
28 changed files with 750 additions and 5 deletions

23
docs/simulation.rst Normal file
View File

@@ -0,0 +1,23 @@
Simulation Mode
===============
The simulation backend allows you to test framework logic without connecting real hardware.
How It Works
------------
Fixtures like `dut` use mock classes defined in `src/instruments/dut_controller.py`.
Example Methods:
- `get_version()`
- `read_temperature()`
- `set_output_enabled()`
Extending Sim Mode
------------------
You can expand simulation by:
- Creating additional dummy instruments
- Returning randomized or patterned values
- Adding logs to mimic hardware responses