Skip to content

Commit 4ec4fcb

Browse files
authored
Merge pull request #224 from Scale3-Labs/ali/s3en-2462-update-python-sdk-readme-on-how-to-run-unit-tests
Ali/s3en 2462 update python sdk readme on how to run unit tests
2 parents 89d0a85 + e227f27 commit 4ec4fcb

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,19 @@ Langtrace automatically captures traces from the following vendors:
260260

261261
We welcome contributions to this project. To get started, fork this repository and start developing. To get involved, join our [Discord](https://discord.langtrace.ai) workspace.
262262

263-
If you want to run any of the examples go to `run_example.py` file, you will find `ENABLED_EXAMPLES`. choose the example you want to run and just toggle the flag to `True` and run the file using `python src/run_example.py`
263+
- If you want to run any of the examples go to `run_example.py` file, you will find `ENABLED_EXAMPLES`. choose the example you want to run and just toggle the flag to `True` and run the file using `python src/run_example.py`
264+
265+
- If you want to run tests, make sure to install dev & test dependencies:
266+
267+
```python
268+
pip install '.[test]' && pip install '.[dev]'
269+
```
270+
271+
then run `pytest` using:
272+
273+
```python
274+
pytest -v
275+
```
264276

265277
---
266278

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.1.25"
1+
__version__ = "2.1.26"

0 commit comments

Comments
 (0)