Files
prosperon/scripts/test.ce

30 lines
448 B
Plaintext

// Test runner - runs test suites in parallel and reports results
var def = arg
if (arg.length === 0)
arg = [
'send',
'stop',
'blob',
'clock',
'couple',
'disrupt',
'empty', // this one should be an error
'text',
'http',
'use',
'parseq',
'kill'
]
for (var test of def)
$_.start(e => {
}, 'tests/' + test, $_)
$_.delay($_.stop, 1)
$_.receiver(e => {
log.console(json.encode(e))
})