Testing
Table of Contents
Classes
- EInvoiceAssertions
- The assertions of {@see InteractsWithQuittio} outside a test case class, e.g. in Pest
helper functions: (new EInvoiceAssertions)->assertValidEInvoice($pdf, 'xrechnung').
- QuittioFake
- Calculates invoices and chooses formats and profiles like a real run (requested formats,
defaults.format, the automatic choice, profile keys and objects, defaults.profile), but
skips validation, XML, template and PDF. Records every render call and every queued render,
and dispatches the events of a real run (InvoiceRendering, InvoiceValidated with an empty
result unless validation is off, InvoiceRendered).
Traits
- InteractsWithQuittio
- Assertions for feature tests.