<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/4f7d7ecab1234f14970a64c0e9c27630&quot; frameborder=&quot;0&quot; width=&quot;1314&quot; height=&quot;985&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>985</height><width>1314</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>985</thumbnail_height><thumbnail_width>1314</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/4f7d7ecab1234f14970a64c0e9c27630-83cd4eeaf6a00e51.gif</thumbnail_url><duration>354.198</duration><title>How to work with Test Cases in your thunk</title><description>This Loom explains how to test whether a thunk is working correctly using the Test Assertions feature enabled in Evaluation Mode on the Thunk page. It walks through an expense receipts sample with named test cases, showing pass and fail counts such as 3 out of 3 passing and 2 out of 3 passing. For each row, it reviews AI-based evaluations (fuzzy checks like referencing an Uber ride) alongside deterministic tests (exact comparisons using operators for properties). It also notes that production readiness can rerun the assertion checks for the existing work items, and shows a failing case where the policy document cannot be located, suggesting the thunk may need fixing.</description></oembed>