Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with EpoxyDuino for continuous builds.
vim
editor.vim
editor
to jump directly to the file and line where the assertion failure
occurred.TestRunner::includesub(word)
and TestRunner::excludesub(word)
which includes or excludes tests based on the substring match on the
word
.excludeAll()
if the first filtering request is an include()
or
includesub()
.
--include pattern,...
TestRunner::include(pattern)
on each pattern
in the
comma-separated list.--exclude pattern,...
TestRunner::exclude(pattern)
on each pattern
in the
comma-separated list.--includesub substring,...
TestRunner::includesub(substring)
on each substring
in
the comma-separated list.--excludesub substring,...
TestRunner::excludesub(substring)
on each substring
in
the comma-separated list.substring ...
TestRunner::includesub(substring)
.HardwareSerial
class (via the Serial
global variable). Remove reference to SERIAL_PORT_MONITOR
from
Printer::sPrinter
. Move reference to SERIAL_PORT_MONITOR
from
TestRunner.cpp to TestRunner.h. Saves about 800 bytes on AVR applications
which don't use Serial
at all.assertNoFatalFailure(statement)
macro to prevent continued
execution if statement
contains assertion failures. Fixes
Issue #11.examples/AUnitPlatformIO/src/AUnitPlatformIO.ino
from
a symlink to a regular file. The Arduino Library Manager apparently does
not allow symlinks (see
https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ). So when I
created the symlink at v1.3 on 2019-06-05, the Library Manager stopped
updating the library for almost 2 years, until I removed the symlink at
v1.5.2.arduino:samd
core version >= 1.8.10
due to incompatibility with new Arduino API. See Issue #66
(https://github.com/bxparks/AUnit/issues/66).F()
for ESP8266 since
https://github.com/esp8266/Arduino/issues/3369 seems to have been fixed
some time ago.