2016-09-17 63 views

回答

1

步骤设置量角器黄瓜框架:

  1. 安装NPM安装--save-dev的量角器黄瓜框架
  2. 为了实现这个框架,利用量角器定制的框架

配置选项:

exports.config = { 
    // set to "custom" instead of cucumber. 
    framework: 'custom', 

    // path relative to the current config file 
    frameworkPath: require.resolve('protractor-cucumber-framework') 
};