Assertions for PHPUnit
Service | Result |
---|---|
Travis CI (PHP 5.6 .. 7.1) | |
Scrutinizer | |
Code coverage | |
Packagist |
<?php
class PonyTest extends \PHPUnit_Framework_TestCase
{
use \Puzzle\Assert\ArrayRelated;
public function testRetrieveUnicorn()
{
// ...
$this->assertSameArrayExceptOrder([1, 2, 3, 4], $result);
}
}
No BC breaks yet