1 { xunit-viewer, runCommand, ... }:
3 runCommand "test-xunit-viewer" {
4 nativeBuildInputs = [ xunit-viewer ];
7 xunit-viewer -r ${./example.junit.xml} -o $out/index.html
9 grep '<body' $out/index.html
10 # Can't easily grep for parts of the original data, because it ends up
11 # embedded as base64 encoded data (and slightly modified?).
12 # We'd have to really dissect it or render it with a browser.
13 # Fortunately, we've already caught the most severe packaging problems