mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
Added in some unit tests
This commit is contained in:
25
tests/README.md
Normal file
25
tests/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# MeshCore Tests
|
||||
|
||||
## Running Tests
|
||||
|
||||
To run the tests, first install the development dependencies:
|
||||
|
||||
```bash
|
||||
pip install -e ".[dev]"
|
||||
```
|
||||
|
||||
Then run the tests using pytest:
|
||||
|
||||
```bash
|
||||
# Run all tests
|
||||
pytest
|
||||
|
||||
# Run tests with verbose output
|
||||
pytest -v
|
||||
|
||||
# Run a specific test file
|
||||
pytest tests/unit/test_commands.py
|
||||
|
||||
# Run a specific test
|
||||
pytest tests/unit/test_commands.py::test_send_msg
|
||||
```
|
||||
Reference in New Issue
Block a user