2016-09-17 61 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') 
};