Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

container-interop/definition-interop-tests

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

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

How does it work?

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

Container / compilers compatible with container-interop should be able to pass any of those tests.

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.