aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/test-config.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-10 16:26:39 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-10 17:12:13 +0200
commit8a35cc2a73a8d02feb30262a76e79fee49961df4 (patch)
tree659df5efcf7ce5269baa5976554c817705ec9355 /conf.d/project/etc/test-config.json
parent14c5b20de6357f57d1facf1c9742f78958df29a3 (diff)
Update controller mechanism
Add luaunit as xUnit lua framework Change-Id: I49627b6554c62d05eca5e367d073b037385e40b1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/test-config.json')
-rw-r--r--conf.d/project/etc/test-config.json16
1 files changed, 11 insertions, 5 deletions
diff --git a/conf.d/project/etc/test-config.json b/conf.d/project/etc/test-config.json
index bd7f5dc..8da0e1a 100644
--- a/conf.d/project/etc/test-config.json
+++ b/conf.d/project/etc/test-config.json
@@ -8,15 +8,21 @@
"info": "Binding made to tests other bindings",
"require": ["low-can"]
},
- "resources": {
+ "resources": [{
"uid": "low-can-test",
"info": "Plugin that will test low-can binding",
"spath": "var/",
- "file": "low-can-tests.lua"
- },
+ "libs": [ "low-can-tests.lua"]
+ }],
"onload": {
"uid": "launch_all_tests",
"info": "Launch all the tests",
- "action": "lua://low-can-test#_launch_tests_"
- }
+ "action": "lua://low-can-test#_launch_tests"
+ },
+ "events":[
+ {
+ "uid": "monitor/trace",
+ "action": "lua://low-can-test#_evt_catcher_"
+ }
+ ]
}