device tests: some of them can be run on host by d-a-v · Pull Request #6912 · esp8266/Arduino
$ cd tests/device
tests/device$ make
make list - show list of tests
make sometest/sometest.ino - run one test
make all - run all tests
make MOCK=1 all - run all emulation-on-host compatible tests
variables needed: $ARDUINO_IDE_PATH $ESP8266_CORE_PATH
make options: V=1 NO_BUILD=1 NO_UPLOAD=1 NO_RUN=1 MOCK=1