2017 © Pedro Peláez
 

library test-lib

Defines a base test case with some nice methods

image

aesonus/test-lib

Defines a base test case with some nice methods

  • Thursday, July 19, 2018
  • by Aesonus
  • Repository
  • 0 Watchers
  • 0 Stars
  • 64 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Test Lib

This package contains a base class for testing purposes. It also includes phpunit version 8, and a virtual file system to mock the real file system., (*2)

Installation

composer require aesonus/test-lib

Usage

You can use this to assert that an array contains only the values in expected. The keys are completely disregarded., (*3)

Use inside your test cases, (*4)

class TestCase extends Aesonus\TestLib\BaseTestCase
{
    public function testCase() {
        $this->assertArrayContainsValues($expected, $actual);
        $this->assertArrayContainsAtLeastValues($expected, $actual);
    }
}

Bugs

Feel free to email me with bug reports or open an issue, (*5)

The Versions

19/07 2018

dev-master

9999999-dev

Defines a base test case with some nice methods

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Aesonus

19/07 2018

v2.0

2.0.0.0

Defines a base test case with some nice methods

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Aesonus

17/06 2018

v1.0

1.0.0.0

Defines a base test case with some nice methods

  Sources   Download

MIT

The Requires

 

by Avatar Aesonus