Commit b722d140 authored by mrodzis's avatar mrodzis 🦊 Committed by Mathias Goebel

Implement pretty print for test output

parent 585c9055
......@@ -110,8 +110,15 @@ else
$message1 || " [0m" )
,
let $parameters :=
<output:serialization-parameters
xmlns:output="http://www.w3.org/2010/xslt-xquery-serialization">
<output:method value="xml"/>
<output:indent value="yes"/>
</output:serialization-parameters>
let $tests := util:eval(xs:anyURI('test.xq'))
let $print := util:log-system-out( $tests )
let $print := util:log-system-out(serialize($tests, $parameters) )
let $print := util:log-system-out( local:test-function-rate($tests) )
let $file-name := $system-path || ".."|| $fileSeparator || "tests-"
|| $project-name || "_job-" || environment-variable("CI_JOB_ID") || ".log.xml"
......
......@@ -19,6 +19,7 @@
<li class="feat">Features
<ul>
<li>Add document how to use faceted search</li>
<li>Pretty print test results on command line</li>
</ul>
</li>
<li class="bugs">Bugfixes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment