elliotchance / elliotchance/concise

describe() for assertions

Open
#315 0 comments 0 reactions 0 assignees View on GitHub
Component: Matcher Size: 2 (Medium) Type: Feature
Dominant language
PHP
Stars
45
Forks
3
PR merge metrics
No merged PRs in 30d

Description

``` php
$this->describe("a must be greater than b")
->assert(3)->isGreaterThan(0);
```

Instead of:

``` php
$this->assert("a must be greater than b", 3)->isGreaterThan(0);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.