Utilities for testing software using ThrowableDiagnosticComponent.
- Prevent diagnosis of failed assertions
- Mocks for commonly injected classes
Via Composer as development dependency
composer require --dev neighborhoods/throwable-diagnostic-phpunit-component
Failed PHPUnit assertions raise Exceptions. Throwable Diagnostic Component disturbs the Exception based communication between a test case and the PHPUnit framework. The PHPUnit decorator prevents Throwable Diagnostic Component from interfering with PHPUnit Exceptions.
TBD