Files
hank/tests/main/Examples.hx

15 lines
371 B
Haxe

package tests.main;
import hank.StoryTestCase;
import hank.LogUtil;
@:build(hank.FileLoadingMacro.build(["examples/"]))
class Examples /*extends Test*/ {
public static function main() {
trace('Testing examples for target ${LogUtil.currentTarget()}');
new StoryTestCase("examples"
#if !sys
, files
#end
).testAllExamples();
}
}