Skip to content
Novus Examples
xml18.7 KB

JUnit XML — 240-Case Suite

240 cases across six classes, three of them failing. Big enough to time a parser and to check that a report UI paginates or virtualises rather than rendering every row, but still small enough to read.

Preview — first 50 linesxml
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="perf.LargeSuite" tests="240" failures="3" errors="0" skipped="5" time="47.359" timestamp="2026-08-07T09:14:22" hostname="ci-runner-04">
    <testcase classname="perf.Batch00Test" name="case000" time="0.248">
      <skipped message="loyalty tiers are disabled in the CI profile"/>
    </testcase>
    <testcase classname="perf.Batch00Test" name="case001" time="0.190"/>
    <testcase classname="perf.Batch00Test" name="case002" time="0.121"/>
    <testcase classname="perf.Batch00Test" name="case003" time="0.099"/>
    <testcase classname="perf.Batch00Test" name="case004" time="0.118"/>
    <testcase classname="perf.Batch00Test" name="case005" time="0.200"/>
    <testcase classname="perf.Batch00Test" name="case006" time="0.014"/>
    <testcase classname="perf.Batch00Test" name="case007" time="0.132"/>
    <testcase classname="perf.Batch00Test" name="case008" time="0.355"/>
    <testcase classname="perf.Batch00Test" name="case009" time="0.328"/>
    <testcase classname="perf.Batch00Test" name="case010" time="0.366"/>
    <testcase classname="perf.Batch00Test" name="case011" time="0.371"/>
    <testcase classname="perf.Batch00Test" name="case012" time="0.235"/>
    <testcase classname="perf.Batch00Test" name="case013" time="0.262"/>
    <testcase classname="perf.Batch00Test" name="case014" time="0.339"/>
    <testcase classname="perf.Batch00Test" name="case015" time="0.331"/>
    <testcase classname="perf.Batch00Test" name="case016" time="0.214"/>
    <testcase classname="perf.Batch00Test" name="case017" time="0.220"/>
    <testcase classname="perf.Batch00Test" name="case018" time="0.212"/>
    <testcase classname="perf.Batch00Test" name="case019" time="0.038"/>
    <testcase classname="perf.Batch00Test" name="case020" time="0.394"/>
    <testcase classname="perf.Batch00Test" name="case021" time="0.365"/>
    <testcase classname="perf.Batch00Test" name="case022" time="0.216"/>
    <testcase classname="perf.Batch00Test" name="case023" time="0.012"/>
    <testcase classname="perf.Batch00Test" name="case024" time="0.020"/>
    <testcase classname="perf.Batch00Test" name="case025" time="0.225"/>
    <testcase classname="perf.Batch00Test" name="case026" time="0.051"/>
    <testcase classname="perf.Batch00Test" name="case027" time="0.323"/>
    <testcase classname="perf.Batch00Test" name="case028" time="0.285"/>
    <testcase classname="perf.Batch00Test" name="case029" time="0.235"/>
    <testcase classname="perf.Batch00Test" name="case030" time="0.080"/>
    <testcase classname="perf.Batch00Test" name="case031" time="0.092"/>
    <testcase classname="perf.Batch00Test" name="case032" time="0.260"/>
    <testcase classname="perf.Batch00Test" name="case033" time="0.053"/>
    <testcase classname="perf.Batch00Test" name="case034" time="0.009"/>
    <testcase classname="perf.Batch00Test" name="case035" time="0.260"/>
    <testcase classname="perf.Batch00Test" name="case036" time="0.028"/>
    <testcase classname="perf.Batch00Test" name="case037" time="0.383">
      <failure message="expected:&lt;12.60&gt; but was:&lt;12.59&gt;" type="java.lang.AssertionError"><![CDATA[java.lang.AssertionError: expected:<12.60> but was:<12.59>
	at cart.PricingTest.appliesTaxToSubtotal(PricingTest.java:88)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
]]></failure>
    </testcase>
    <testcase classname="perf.Batch00Test" name="case038" time="0.344"/>
    <testcase classname="perf.Batch00Test" name="case039" time="0.213"/>
271 lines total — download for the full file.

Specifications

Seed
61200
Dialect
surefire
Encoding
UTF-8
Line Endings
LF
Tests
240
Failures
3
Errors
0
Skipped
5
Passed
232
Classes
6

Testing contract

Expected to pass
Scenario
Parse and render a JUnit report large enough to expose per-case overhead.
Expected result
All 240 cases are read, 3 failures are found, and the totals on the suite element match the number of <testcase> elements.

What is a .xml file?

XML (Extensible Markup Language) is a verbose, self-describing markup language using nested tags, attributes, and namespaces to represent structured, hierarchical data. It supports schemas, entities, and validation and underlies many document and data formats. It remains common in enterprise, publishing, and interchange contexts.

How to use this file

Use an example XML file to test parsers, namespace and schema validation, XPath queries, and protection against entity-expansion and external-entity attacks.

How to use this file for testing

“JUnit XML — 240-Case Suite” is a deterministic Novus Examples fixture for Performance testing, Conversion testing, Log parsing. Documented size, row-count, duration, and resolution ladders for measuring parser, renderer, converter, and upload performance without relying on private production data.

Documented properties for this file: seed 61200 · UTF-8 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Test and coverage reports document their totals (suites, cases, passes, failures, skips, covered lines) in the spec table. Point your CI dashboard, coverage gate, or report converter at the file and assert those counts survive; format twins carry identical numbers so a conversion can be scored exactly.

Code examples

import xml.etree.ElementTree as ET

tree = ET.parse("outcome-large-suite.xml")
root = tree.getroot()
print(root.tag, [c.tag for c in root][:5])

Generated by generation/testing.py. Free for any use, no attribution required — license.