elliotchance / concise

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

Nesting assertions #219

Closed elliotchance closed 9 years ago

elliotchance commented 9 years ago

It should be possible to nest assertions, like:

$a = array('foo' => 12.3);
$this->assert($this->assert($a, has_key, 'foo'), equals, 12, within, 0.5);
coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling 22a6e44d37999892f5692f959ac1d68756bd9e74 on 1.5/219-nested-assertions into a2858faa71ab8b5e754496474c5b03105e28efac on release/1.5.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling 37edda5a1ea7a77e1be3d2a50c3a52672c770bbc on 1.5/219-nested-assertions into a2858faa71ab8b5e754496474c5b03105e28efac on release/1.5.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling f56d0d8559f506398547b3809e66c483a1d79814 on 1.5/219-nested-assertions into a2858faa71ab8b5e754496474c5b03105e28efac on release/1.5.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling a9ca0717eeffbdccccc07a0a37664709c82738a0 on 1.5/219-nested-assertions into e016ca239ee0fc8979e888f1cd5b35b49b96bbda on release/1.5.

scrutinizer-notifier commented 9 years ago

The inspection completed: 10 updated code elements