Slide 15
Slide 15 text
Approval testing
• Automated assertion on strings (and bitmaps, …)
• External di
ff
-tools to inspect di
ff
erences
• convert complex data to strings or json
• Scrubbers to normalize dates, uuids, etc
String result = receiptService.makeReceipt(panier, catalog, new TextPrinter());
Approvals.verify(result);