2017 © Pedro Peláez
 

library assert

Assert for PHP Unit

image

puzzle/assert

Assert for PHP Unit

  • Monday, February 19, 2018
  • by nlenardou
  • Repository
  • 2 Watchers
  • 0 Stars
  • 11,120 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 12 % Grown

The README.md

Puzzle Assert PHP >= 5.6

Assertions for PHPUnit, (*1)

QA

SensioLabsInsight, (*2)

Service Result
Travis CI (PHP 5.6 .. 7.1) Build Status
Scrutinizer Scrutinizer Code Quality
Code coverage codecov
Packagist Latest Stable Version Total Downloads

Example

<?php

class PonyTest extends \PHPUnit_Framework_TestCase
{
    use \Puzzle\Assert\ArrayRelated;

    public function testRetrieveUnicorn()
    {
        // ...
        $this->assertSameArrayExceptOrder([1, 2, 3, 4], $result);
    }
}

Changelog

No BC breaks yet, (*3)

The Versions

19/02 2018

dev-master

9999999-dev

Assert for PHP Unit

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

assert tests assertions unit tests

11/07 2017

1.2.0

1.2.0.0

Assert for PHP Unit

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

assert tests assertions unit tests

02/04 2017

1.1.0

1.1.0.0

Assert for PHP Unit

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

assert tests assertions unit tests

09/03 2017

1.0.0

1.0.0.0

Assert for PHP Unit

  Sources   Download

The Requires

  • php >=5.6

 

The Development Requires

assert tests assertions unit tests