hipay/phpci-casperjs

dev-master 2016-02-12 16:08 UTC

This package is not auto-updated.

Last update: 2024-09-20 09:46:57 UTC


README

此PHPCI插件允许您启动CasperJS测试

安装

[...]
    "require": {
        [...]
        "hipay/phpci-casperjs": "dev-master",
        [...]
    },
[...]
  • 运行 composer install hipay/phpci-casperjs
  • 将javascript复制到PHPCI
    cp /path/to/phpci/vendor/hipay/phpci-casperjs/Demorose/PHPCI/Plugin/js/casperJs.js /path/to/phpci/public/assets/js/build-plugins/casperJs.js

配置选项

  • x_unit_file_path - xunit输出的路径。默认为/tmp/casperOutput.xml。
  • tests_path - 测试的路径。