Commit 37e621f0 authored by Mathias Goebel's avatar Mathias Goebel 🎠

Merge branch 'feature/#92-broken-tests-pretty-print' into 'develop'

Implement pretty print for test output

Closes #92

See merge request !83
parents 585c9055 b722d140
......@@ -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