Skip to content

Latest commit

 

History

History
 
 

Testing

To test python-OBD, you will need to install pytest and the obd module from your local tree (preferably in a virtualenv) by running:

pip install pytest
pip install build
python -m build
pip install ./dist/obd-0.7.2.tar.gz

To run all basic python-only unit tests, run:

py.test

This directory also contains a set of end-to-end tests that require obdsim to be running in the background. These tests are skipped by default, but can be activated by passing the --port flag.

For more information on pytest with virtualenvs, read more here