2017 © Pedro Peláez
 

library definition-interop-tests

Test suite that validates whether a container is compatible with definition-interop.

image

container-interop/definition-interop-tests

Test suite that validates whether a container is compatible with definition-interop.

  • Monday, June 20, 2016
  • by mouf
  • Repository
  • 2 Watchers
  • 1 Stars
  • 96 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 4 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

definition-interop compiler's test suite

Modules (aka packages or bundles) are widespread in modern frameworks. Unfortunately each framework has its own convention and tools for writing them. The goal of container-interop and more specifically definition-interop is to help developers write modules that can work in any framework., (*1)

definition-interop contains interfaces helping developers describe container definitions (objects that can be cast to a container entry)., (*2)

This package contains a set of test suites that can be used to ensure that a container/compiler is indeed compatible with definition-interop., (*3)

Installation

composer require --dev container-interop/definition-interop-tests:dev-master

How does it work?

This package contains a number of definition instances, and the associated PHPUnit tests that should match those instances., (*4)

Container / compilers compatible with container-interop should be able to pass any of those tests., (*5)

Usage

This package contains a AbstractDefinitionCompatibilityTest class. This is an abstract PHPUnit test class. In your package, you should extend this class and implement the compileDefinitions method. This method should return a container-interop compatible container., (*6)

The Versions

20/06 2016

dev-master

9999999-dev

Test suite that validates whether a container is compatible with definition-interop.

  Sources   Download

MIT

The Requires

 

11/12 2015

dev-fix-sub-definitions-test

dev-fix-sub-definitions-test

Test suite that validates whether a container is compatible with definition-interop.

  Sources   Download

MIT

The Requires

 

05/12 2015

dev-remove-test

dev-remove-test

This package contains a test suite that can be used to ensure that a container/compiler is indeed compatible with definition-interop.

  Sources   Download

MIT

The Requires

 

29/11 2015

v0.1.0

0.1.0.0

This package contains a test suite that can be used to ensure that a container/compiler is indeed compatible with definition-interop.

  Sources   Download

MIT

The Requires