ArduinoTap

an Unit Testing library

ArduinoTap : an Unit Testing library

Build Status

Introduction

ArduinoTap is a C/C++ port of the Perl5 module Test::More on Arduino.

It uses the Test Anything Protocol as output, that allows a compatibility with the Perl QA ecosystem. For example, prove a basic CLI, or Smolder a web-based smoke test aggregator server.

It allows a simple and efficient way to write tests (without OO style).

Some tests could be marked as TODO or skipped.

An additional script runino allows to build a sketch, to upload it on an Arduino board, and to capture its output. So, it is possible to use a continuous integration server which runs a test suite containing many sketches.

$ prove --exec=runino examples/*ok/*.ino examples/is*/*.ino

Bibliography

Download

ArduinoTap source can be downloaded from GitHub.

Installation

$ sudo make install

Copyright and License

Copyright 2011-2015 Francois Perrad

This library is licensed under the terms of the Artistic License 2.0, like Perl.

Related Repositories

ArduinoTap

ArduinoTap

an Unit Testing library ...


Top Contributors

fperrad Erkan-Yilmaz