mtz/behat-doctine-context 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mtz/behat-doctine-context

最新稳定版本:1.1

Composer 安装命令:

composer require mtz/behat-doctine-context

包简介

A syntactic sugar for creating entities from the behat feature file

README 文档

README

Example of behat.yml configuration

default:
    suites:
        default:
            contexts:
                - MTZ\BehatContext\Doctrine\DoctrineContext

Also put next to the config/services_test.yaml file:

services:
    _defaults:
        autowire: true
        autoconfigure: true

    MTZ\BehatContext\Doctrine\DoctrineContext:

Example of scenario:

  Scenario: My awesome Scenario
    And Created entities of "App\Entity\Post" with
      | id    | title       | description      |
      | 11100 | Some title  | some description |
    Then Instance of "App\Entity\Post" with "id" equal to "11100" contains the following data:
      | id    | title       | description      |
      | 11100 | Some title  | some description |

统计信息

  • 总下载量: 52
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-19