meshcore_py/tests
Ventz Petkov 36727f4ea3 feat: Refactor binary commands and apply BLE fixes
Refactored the BinaryCommandHandler to align with the other command handlers, inheriting from CommandHandlerBase. This resolves an AttributeError and simplifies the command structure. Moved binary_commands.py into the commands module. Applied fixes to the BLE connection handler based on feedback, improving reliability on macOS and ensuring the device address is correctly handled.
2025-08-05 15:31:54 -04:00
..
unit feat: Refactor binary commands and apply BLE fixes 2025-08-05 15:31:54 -04:00
README.md Added in some unit tests 2025-04-13 22:55:39 -07:00
test_ble_connection.py feat: Refactor binary commands and apply BLE fixes 2025-08-05 15:31:54 -04:00

MeshCore Tests

Running Tests

To run the tests, first install the development dependencies:

pip install -e ".[dev]"

Then run the tests using pytest:

# 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