定制 setono/sylius-behat-pack 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

setono/sylius-behat-pack

最新稳定版本:v0.2.2

Composer 安装命令:

composer require setono/sylius-behat-pack

包简介

A pack that installs everything you need to run behat tests on Sylius plugin or app

README 文档

README

A collection of libraries you need to run behat tests on Sylius plugin or app

$ composer require --dev setono/sylius-behat-pack

Preparing environment for testing with JS enabled

  • Chromedriver

    • Install:

      https://sites.google.com/a/chromium.org/chromedriver/downloads

      # platform options: linux32, linux64, mac64, win32
      PLATFORM=mac64
      VERSION=$(curl http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
      cd /tmp
      curl http://chromedriver.storage.googleapis.com/$VERSION/chromedriver_$PLATFORM.zip > chromedriver.zip
      unzip -o chromedriver.zip
      chmod +x chromedriver
      mv chromedriver /usr/local/bin/chromedriver
      rm chromedriver.zip
      chromedriver -v
    • Run:

      chromedriver > /dev/null 2>&1 &
  • Selenium

    • Install:

      curl http://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar > /usr/local/bin/selenium.jar
    • Run:

      java -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver -jar /usr/local/bin/selenium.jar > /dev/null 2>&1 &
  • Webserver

    • Install symfony cli:

      https://symfony.com/download

      curl -sS https://get.symfony.com/cli/installer | bash
      mv ~/.symfony/bin/symfony /usr/local/bin/symfony
      symfony -v
    • Run webserver with test environment:

      # App
      APP_ENV=test symfony server:start --port=8080 --daemon
      
      # Plugin
      (cd tests/Application && APP_ENV=test symfony server:start --port=8080 --daemon)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固