elliotchance / concise

✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
MIT License
45 stars 3 forks source link

Add support for verify in PHPUnit #245

Open elliotchance opened 9 years ago

elliotchance commented 9 years ago

It is possible to translate all PHPUnit into assertions like:

$this->verifyEquals(5, 2 + 3);

Handling this with a magic method that catches failures and relays them to concise's verify mechanism.