Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

alteris/behat-apigility-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behat Apigility integration

This extension extends Alteris\BehatZendframeworkExtension to work with Apigility and Behat ^3.1.

Installing extension

The easiest way to install is by using Composer:

$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar require alteris/behat-apigility-extension='~1.0'

or composer.json

"require": {
    "alteris/behat-apigility-extension": "~1.0"
},

Configuration

You can then activate the extension in your behat.yml. Need to use parameter type to change Application factory to Apigility and define both Extensions:

    default:
        # ...
        extensions:
            Alteris\BehatApigilityExtension\ServiceContainer\Extension: ~
            Alteris\BehatZendframeworkExtension\ServiceContainer\Extension:
                configuration: PATH_TO_application.config.php
                type: apigility_application

Injecting Application

Your context need to implement Alteris\BehatZendframeworkExtension\Context\ContextAwareInterface and will be intialized with Zend\Mcv\ApplicationInterface;

Base documentation

See Zend framework Extension

Versioning

Staring version 1.0.0, will follow Semantic Versioning v2.0.0.

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published