Hello,
I’m looking to create a library that will have Travis CI testing and hardware testing (I want to verify that it works). Is there currently a way to do this well? The requirements are:
- The library must be importable in Web and Desktop IDE’s
- Code should reside on GitHub
- Unit testing with Travis CI (for all non-firmware related items)
- Unit testing locally with photon/electron (I think I can use this: https://github.com/m-mcgowan/spark-unit-test)
The reason I ask is most (if not all) libraries out there have no testing. Some of the firmware code has testing, but there doesn’t seem to be an example library that shows how to perform test driven development with Particle.