Skip to content

Instantly share code, notes, and snippets.

@wmacevoy
Created April 7, 2016 00:16
Show Gist options
  • Save wmacevoy/f2cbd5d5761dd7eecb66b5de8dc9e20a to your computer and use it in GitHub Desktop.
Save wmacevoy/f2cbd5d5761dd7eecb66b5de8dc9e20a to your computer and use it in GitHub Desktop.
how to order tests by name
#include <ArduinoUnit.h>
test(t01_first) { Serial.print("one"); pass(); }
test(t02_second) { Serial.print("two"); pass(); }
test(t03_third) { Serial.print("three"); pass(); }
void setup()
{
Serial.begin(9600);
}
void loop()
{
Test::run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment