Debian Codegraph @

reporters/__snapshots__/junit_report_test.snap

raw
1
2 [JunitReport when configured to write the report inside a folder creates the folder and the report file - 1]
3 <?xml version="1.0" encoding="UTF-8"?>
4 <testsuites tests="5" disabled="1" errors="1" failures="1" time="60">
5 <testsuite name="My Suite" package="/path/to/suite" tests="5" disabled="1" skipped="0" errors="1" failures="1" time="60" timestamp="0001-01-01T00:00:00">
6 <properties>
7 <property name="SuiteSucceeded" value="false"></property>
8 <property name="SuiteHasProgrammaticFocus" value="false"></property>
9 <property name="SpecialSuiteFailureReason" value=""></property>
10 <property name="SuiteLabels" value="[]"></property>
11 <property name="SuiteSemVerConstraints" value="[]"></property>
12 <property name="SuiteComponentSemVerConstraints" value="[]"></property>
13 <property name="RandomSeed" value="17"></property>
14 <property name="RandomizeAllSpecs" value="false"></property>
15 <property name="LabelFilter" value=""></property>
16 <property name="SemVerFilter" value=""></property>
17 <property name="FocusStrings" value=""></property>
18 <property name="SkipStrings" value=""></property>
19 <property name="FocusFiles" value=""></property>
20 <property name="SkipFiles" value=""></property>
21 <property name="FailOnPending" value="false"></property>
22 <property name="FailOnEmpty" value="false"></property>
23 <property name="FailFast" value="false"></property>
24 <property name="FlakeAttempts" value="0"></property>
25 <property name="DryRun" value="false"></property>
26 <property name="ParallelTotal" value="1"></property>
27 <property name="OutputInterceptorMode" value=""></property>
28 </properties>
29 <testcase name="[It] A B C [dolphin, gorilla, cow, cat, dog]" classname="My Suite" status="timedout" time="1">
30 <failure message="failure&#xA;message" type="timedout">[TIMEDOUT] failure&#xA;message&#xA;In [It] at: cl3.go:103 @ 09/09/25 10:50:00&#xA;&#xA;[PANICKED] &#xA;In [It] at: cl4.go:144 @ 09/09/25 10:50:00&#xA;&#xA;the panic!&#xA;&#xA;Full Stack Trace&#xA; full-trace&#xA; cl-4&#xA;&#xA;There were additional failures detected after the initial failure. These are visible in the timeline&#xA;</failure>
31 <system-out>some captured stdout&#xA;</system-out>
32 <system-err>STEP: a by step - cl0.go:12 @ 09/09/25 10:50:00&#xA;&gt; Enter [It] C - cl2.go:80 @ 09/09/25 10:50:00&#xA;ginkgowriter&#xA;[TIMEDOUT] failure&#xA;message&#xA;In [It] at: cl3.go:103 @ 09/09/25 10:50:00&#xA;output&#xA;[PANICKED] &#xA;In [It] at: cl4.go:144 @ 09/09/25 10:50:00&#xA;&#xA;the panic!&#xA;&#xA;Full Stack Trace&#xA; full-trace&#xA; cl-4&#xA;&lt; Exit [It] C - cl2.go:80 @ 09/09/25 10:50:00 (87ms)&#xA;a report entry - cl1.go:37 @ 09/09/25 10:50:00&#xA;a hidden report entry - cl1.go:37 @ 09/09/25 10:50:00&#xA;cleanup!&#xA;[FAILED] a subsequent failure&#xA;In [AfterEach] at: :0 @ 09/09/25 10:50:00&#xA;</system-err>
33 </testcase>
34 <testcase name="[It] A [cat, owner:frank, OWNer:bob]" classname="My Suite" status="passed" time="1" owner="bob">
35 <system-out>some captured stdout&#xA;</system-out>
36 <system-err>&gt; Enter [It] A - cl0.go:12 @ 09/09/25 10:50:00&#xA;some GinkgoWriter&#xA;my progress report&#xA; A (Spec Runtime: 5s)&#xA; cl0.go:12&#xA;STEP: My Step - cl1.go:37 @ 09/09/25 10:50:00&#xA;output is interspersed&#xA;my entry - cl1.go:37 @ 09/09/25 10:50:00&#xA;my hidden entry - cl1.go:37 @ 09/09/25 10:50:00&#xA;END STEP: My Step - cl1.go:37 @ 09/09/25 10:50:00 (200ms)&#xA;here and there&#xA;&lt; Exit [It] A - cl0.go:12 @ 09/09/25 10:50:00 (300ms)&#xA;</system-err>
37 </testcase>
38 <testcase name="[It] A [owner:org, owner:team]" classname="My Suite" status="pending" time="1" owner="team">
39 <skipped message="pending"></skipped>
40 </testcase>
41 <testcase name="[It] A [owner:org]" classname="My Suite" status="panicked" time="1" owner="org">
42 <error message="the panic" type="panicked">[PANICKED] failure&#xA;message&#xA;In [It] at: cl1.go:37 @ 09/09/25 10:50:00&#xA;&#xA;the panic&#xA;&#xA;Full Stack Trace&#xA; full-trace&#xA; cl-1&#xA;</error>
43 <system-out>some captured stdout&#xA;</system-out>
44 <system-err>&gt; Enter [It] A - cl0.go:12 @ 09/09/25 10:50:00&#xA;[PANICKED] failure&#xA;message&#xA;In [It] at: cl1.go:37 @ 09/09/25 10:50:00&#xA;&#xA;the panic&#xA;&#xA;Full Stack Trace&#xA; full-trace&#xA; cl-1&#xA;&lt; Exit [It] A - cl0.go:12 @ 09/09/25 10:50:00 (300ms)&#xA;</system-err>
45 </testcase>
46 <testcase name="[BeforeSuite] A" classname="My Suite" status="passed" time="1"></testcase>
47 </testsuite>
48 </testsuites>
49 ---
50
51 [JunitReport when configured to write the report inside a folder creates the folder and the report file - 2]
52 SUITE: /path/to/suite, tests: 5
53 ---- TEST: [It] A B C [dolphin, gorilla, cow, cat, dog], status: failed
54 ---- TEST: [It] A [cat, owner:frank, OWNer:bob], status: passed
55 ---- TEST: [It] A [owner:org, owner:team], status: skipped
56 ---- TEST: [It] A [owner:org], status: error
57 ---- TEST: [BeforeSuite] A, status: passed
58
59 package summary output match
60 ---