an Unit Testing library
Perl C++ Arduino C
Pull request Compare This branch is 22 commits behind fperrad:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libraries/ArduinoTap
.gitignore
LICENSE
MANUAL.md
Makefile
README.md

README.md

ArduinoTap : an Unit Testing library

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 Francois Perrad

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