Skip to content

Commit 870364d

Browse files
test requiremenets seprated , to requirements-dev.txt
1 parent 2b25999 commit 870364d

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,12 @@ PICA is structured as a standard Python package.
169169
---
170170
## Running Tests
171171

172-
To run the test suite locally:
172+
To run the test suite locally, first install the development dependencies:
173+
```bash
174+
pip install -r requirements-dev.txt
175+
```
176+
Then, you can run the tests:
173177
```bash
174-
pip install pytest pytest-cov flake8
175178
python -m pytest
176179
```
177180

docs/User_Manual.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ Launch the main dashboard:
102102
python run_pica.py
103103
```
104104

105+
### 3.4 Development Dependencies (Optional)
106+
107+
If you plan to contribute to PICA or run the test suite, you will need to install the development dependencies:
108+
109+
```bash
110+
pip install -r requirements-dev.txt
111+
```
112+
105113
## Safety Precautions
106114

107115
> [!WARNING]

requirements-dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
freezegun
2+
pytest
3+
pytest-cov
4+
flake8

requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@ pymeasure>=0.10.0
55
pyvisa>=1.12.0
66
pyvisa-py>=0.5.3
77
gpib-ctypes>=0.3.0
8-
pillow>=10.3.0
9-
freezegun
10-
pytest
11-
pytest-cov
8+
pillow>=10.3.0

0 commit comments

Comments
 (0)