914 B

Develop and Test nodemcu-uploader

Configure development environment

git clone
cd nodemcu-uploader
virtualenv env
. env/bin/activate
pip install -r test_requirements.txt
python develop


pip install -r test_requirements.txt
coverage run test

To run tests that actually communicate with a device you will need to set the SERIALPORT environment variable to the port where you have an device connected.


export SERIALPORT=/dev/ttyUSB0


Please make sure to bump the version number in nodemcu_uploader/ as well as the testing of that number in tests/

#test upload
python sdist upload -r pypitest

#real upload
python sdist upload -r pypi