neighborhoods / throwable-diagnostic-phpunit-component
Utilities for testing software using ThrowableDiagnosticComponent.
Installs: 1 237
Dependents: 0
Suggesters: 1
Security: 0
Stars: 2
Watchers: 16
Forks: 0
Open Issues: 0
Requires
README
Utilities for testing software using ThrowableDiagnosticComponent.
- Prevent diagnosis of failed assertions
- Mocks for commonly injected classes
Install
Via Composer as development dependency
composer require --dev neighborhoods/throwable-diagnostic-phpunit-component
PHPUnit Decorator
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.
Mocks
TBD