Skip to content

Subject Inspectors #87

@bbatsche

Description

@bbatsche

Verifier to add assertions about the contents of an array or JSON string. Something like:

verify([1, 2, 3])->arrayContent()->is()->int();

verify('{"name":"George","gpa":3.8}')->jsonContent()
    ->name->is()->identicalTo('George')
    ->gpa->within(0.01)->is()->equalTo(3.8);

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions