Registry / testing / bovigo-assert

bovigo-assert

JSON →
library8.1.2phppackagistunverified

Provides assertions for unit tests.

composer require bovigo/assert
INSTALL
IMPORT
SIG · BOVIGO-ASSERT
B
bovigo-assert
testingphpv8.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

assert
use bovigo\assert\assert;

Use the assert function to verify conditions in tests.

use function bovigo\assert\assert; assert(1 + 1 === 2, 'Math works');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
bovigo-assert — pip install bovigo-assert · libregistry