Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 00f84936ac
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (30 sloc) 1.626 kB

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

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

Jump to Line
Something went wrong with that request. Please try again.