Added in some unit tests

This commit is contained in:
Alex Wolden
2025-04-13 22:55:31 -07:00
parent 84de232f4b
commit 3f7155d913
5 changed files with 376 additions and 0 deletions

25
tests/README.md Normal file
View 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
```