NB: This merge depends on unittest PR #80 Do not merge until that one is merged, well actually it wouldn't hurt to merge first but tox will not run any tests. Once that is done, make sure to add plcConfig.py to tests folder with your plc configuration. Is explained in the README on unittest PR and shown below.
tests\plcConfig.py
Tox adds automation testing.
Install tox in the python version you code the most, then run tox once inside pylogix folder where setup.py and tox.ini reside.
The first
tox
command will take a little bit longer as it is building all environments for each python version.Output below of all tests passed in 4 python environments: