Support is added to the Connect IQ SDK 2.1, where you need to compile with the -unit-test flag and run with the / t flag
You should annotate your methods with (: test) and return a boolean, which will mean whether the test passed or not (true to pass).
I keep this answer short for now. Learn more:
http://developer.garmin.com/blog/post/connect-iq-2-run-no-evil
source
share