Custom brainelectronics python modbus wrapper
Custom brainelectronics specific python modbus wrapper.
pip install be-modbus-wrapper
from be_modbus_wrapper import ModbusWrapper
Run the unittests locally with the following command after installing this package in a virtual environment
# run all tests
nose2 --config tests/unittest.cfg
# run only one specific tests
nose2 tests.test_modbus_wrapper.TestModbusWrapper.test_load_modbus_registers_file
Generate the coverage files with
python create_report_dirs.py
coverage html
The coverage report is placed at be-modbus-wrapper/reports/coverage/html/index.html
Based on the PyPa sample project.