Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

How We Tested

Alan Yorinks edited this page Apr 12, 2018 · 13 revisions

Many projects use standalone unit tests for code verification. Because pymata_aio is so heavily hardware dependent, we tested with Arduino boards configured with hardware devices. Code coverage was applied while running the tests to verify that as much code as possible was exercised. The tests used are located in the test directory of the Github distribution.

PyCharm was used for all development and testing. Tests were performed using pytest when running test_all.py.

Hardware Used:

CodeShield Board:

  • Tested:
    • analog and digital inputs and outputs including PWM.
    • servos.
    • rotary encoder (FirmataPlus feature).
    • piezo tone generation (FirmataPlus feature).

Standalone Devices: