<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="Checkout Test Suite" tests="12" assertions="34" errors="1" failures="1" skipped="1" time="7.450">
    <testsuite name="Cart\PricingTest" file="tests/Cart/PricingTest.php" tests="5" assertions="13" errors="0" failures="1" skipped="0" time="3.744">
      <testcase classname="Cart\PricingTest" name="appliesUnitPrice" time="0.643" file="tests/Cart/PricingTest.php" line="24" assertions="3"/>
      <testcase classname="Cart\PricingTest" name="appliesQuantityMultiplier" time="0.659" file="tests/Cart/PricingTest.php" line="30" assertions="3"/>
      <testcase classname="Cart\PricingTest" name="roundsHalfUpAtTwoDecimals" time="1.042" file="tests/Cart/PricingTest.php" line="36" assertions="3"/>
      <testcase classname="Cart\PricingTest" name="rejectsNegativeQuantity" time="1.048" file="tests/Cart/PricingTest.php" line="42" assertions="3"/>
      <testcase classname="Cart\PricingTest" name="appliesTaxToSubtotal" time="0.352" file="tests/Cart/PricingTest.php" line="48" assertions="3">
        <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>
    </testsuite>
    <testsuite name="Cart\DiscountTest" file="tests/Cart/DiscountTest.php" tests="4" assertions="10" errors="0" failures="0" skipped="1" time="2.067">
      <testcase classname="Cart\DiscountTest" name="appliesPercentageDiscount" time="0.147" file="tests/Cart/DiscountTest.php" line="54" assertions="3"/>
      <testcase classname="Cart\DiscountTest" name="stacksDiscountsInDeclaredOrder" time="0.327" file="tests/Cart/DiscountTest.php" line="60" assertions="3"/>
      <testcase classname="Cart\DiscountTest" name="ignoresExpiredCoupon" time="0.893" file="tests/Cart/DiscountTest.php" line="66" assertions="3"/>
      <testcase classname="Cart\DiscountTest" name="appliesLoyaltyTier" time="0.700" file="tests/Cart/DiscountTest.php" line="72" assertions="3">
        <skipped message="loyalty tiers are disabled in the CI profile"/>
      </testcase>
    </testsuite>
    <testsuite name="Checkout\SessionTest" file="tests/Checkout/SessionTest.php" tests="3" assertions="7" errors="1" failures="0" skipped="0" time="1.639">
      <testcase classname="Checkout\SessionTest" name="createsSessionForNewCart" time="0.783" file="tests/Checkout/SessionTest.php" line="78" assertions="3"/>
      <testcase classname="Checkout\SessionTest" name="expiresSessionAfterTimeout" time="0.695" file="tests/Checkout/SessionTest.php" line="84" assertions="3">
        <error message="Connection refused: sessions.example.com:5432" type="java.net.ConnectException"><![CDATA[java.net.ConnectException: Connection refused: sessions.example.com:5432
	at checkout.SessionStore.open(SessionStore.java:41)
	at checkout.SessionTest.expiresSessionAfterTimeout(SessionTest.java:57)
]]></error>
      </testcase>
      <testcase classname="Checkout\SessionTest" name="restoresCartOnResume" time="0.161" file="tests/Checkout/SessionTest.php" line="90" assertions="3"/>
    </testsuite>
  </testsuite>
</testsuites>
