Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 808 Bytes

File metadata and controls

21 lines (13 loc) · 808 Bytes

Throwable Diagnostic PHPUnit Component

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