From 8a35cc2a73a8d02feb30262a76e79fee49961df4 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 10 Jul 2018 16:26:39 +0200 Subject: Update controller mechanism Add luaunit as xUnit lua framework Change-Id: I49627b6554c62d05eca5e367d073b037385e40b1 Signed-off-by: Romain Forlot --- conf.d/project/etc/test-config.json | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'conf.d/project/etc') 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_" + } + ] } -- cgit 1.2.3-korg