Feature: Add MockHandler for hardware-less simulation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- embedded-iot, testing-qa
Research direction
Start by locating the ScienceLab initialization path and the existing device-I/O handling. Define how mock=True selects MockHandler without requiring a physical PSLab device, then verify that tests and feature development can run hardware-free; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
Problem
Currently, ScienceLab requires a physical PSLab device to initialize. This makes it difficult to run tests or develop features without hardware.
Proposed Solution
Implement a MockHandler class and a mock=True argument in ScienceLab to simulate device I/O.
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fossasia/pslab-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fossasia/pslab-python#272 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
fossasia/pslab-python#270 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
fossasia/pslab-python#257 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
fossasia/pslab-python#292 ·
-
Pico SCPI: a truncated response is accepted as complete, and a failed Wi-Fi connect leaks its socket Open
Difficulty 3/5 1-2 days Newbie friendliness 78/100
fossasia/pslab-python#290 ·
All issues in fossasia/pslab-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·