codenamephp/platform.test

Provides a basic TestCase that adds Mockery listener and all needed dependencies. All CodenamePHP Packages will have a dev dependency to this.


License
Apache-2.0

Documentation

platform.test

The base test package that consists of base test case that can extended for unit testing.

This package includes and uses Mockery

Installation

Easiest way is via composer:

  "require-dev": {
    "codenamephp/platform.test": "*"
  }

Usage

Just extend your Test Cases from de/codenamephp/platform/test/TestCase

class SomeTest extends de/codenamephp/platform/test/TestCase {
  ...
}