You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had a lot of ideas! The first one is to replace the PHPUnit assertions by Respect\Validation:
public function testSomethingNice() {
$myComplexThing = MyComplexLib::doSomething();
$this->key('foo', $this->numeric()->positive())->assert($myComplexThing);
}
The assertion messages would be out-of-the-box-ish awesome, much better than the PHPunit diffs, and we can still run the test suite using a standard PHPUnit installation (plus a PEAR package for Respect\Test and Respect\Validation).
Another idea is to use Respect\Config to provide stubs and mocks, but we're not sure how yet!
Is killing me !
The text was updated successfully, but these errors were encountered: