Open everzet opened 9 years ago
In Behat contexts, when you're making assertions, you can use PHPUnit to do that for you. The benefit of that is shorter, more familiar syntax + Behat supports PHPUnit assertions out of the box and prints proper diffs and clear messages on failure.
So this could be neatly replaced with something like this.
@everzet that is an idea, but I'd probably go for beberlei/assert instead. Thanks for the hint btw!
beberlei/assert
@Ocramius Should I use beberlei/assert and refactor it?
@coudenysj feel free to do it.
In Behat contexts, when you're making assertions, you can use PHPUnit to do that for you. The benefit of that is shorter, more familiar syntax + Behat supports PHPUnit assertions out of the box and prints proper diffs and clear messages on failure.
So this could be neatly replaced with something like this.