>I assume that the execution of unit tests takes quite a lot of time in
your setup, right?
Sometimes :-) But my motivation is to run tests initiated from a http RestXQ request and capture the result.
If something like the below is safe that would do me.
Does this count as "a single-threaded execution of unit tests"?
let $q:=``[
declare variable $basex:="C:\Program Files (x86)\BaseX\bin\basex.bat";
let $c:="C:\Users\andy\ ... \test\"
return proc:system($basex,("-t","."), map{"dir":$c})
]``
return jobs:eval($q,(),map { 'cache': true()})