The document discusses using examples instead of assertions to test APIs. It proposes testing APIs by comparing the output to example outputs in the documentation rather than writing assertions. This avoids writing many assertions for complex JSON outputs and makes tests easier to update when examples change compared to changing assertions. However, example-based tests do not print failures on Jenkins. The document also explores using tree pattern matching as another approach for API testing.