承接 behat/environment-loader 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

behat/environment-loader

最新稳定版本:1.2

Composer 安装命令:

composer require behat/environment-loader

包简介

Environment processor and contexts autoloader

README 文档

README

This tool - is a Behat library for auto loading context classes of extension to context environment.

Build Status Coverage Status Quality Score Total Downloads Latest Stable Version License

Usage

See examples here:

namespace Behat\ExampleExtension\ServiceContainer;

// ...

class ExampleExtension implements Extension
{
    // ...
    
    /**
     * {@inheritdoc}
     */
    public function load(ContainerBuilder $container, array $config)
    {
        // Load all context classes from "Behat\ExampleExtension\Context\*" namespace.
        $loader = new EnvironmentLoader($this, $container, $config);
        // Your own environment reader can be easily added.
        // $loader->addEnvironmentReader();
        $loader->load();
    }
    
    // ...
}

Here is a good "how to" about extension creation and usage of this library.

统计信息

  • 总下载量: 129.04k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-01