Protractor 配置中带有2个框架的量角器
我将量角器与cucumber一起使用,我想在配置文件中指定框架:“jasmine”和“custom”。可能吗?下面没有;行不通Protractor 配置中带有2个框架的量角器,protractor,Protractor,我将量角器与cucumber一起使用,我想在配置文件中指定框架:“jasmine”和“custom”。可能吗?下面没有;行不通 exports.config = { framework: ['jasmine','custom'] 请帮助我解决此问题。在配置中,framework属性的类型为string,而不是数组字符串 /** * Test framework to use. This may be one of: jasmine, mocha or custom. * D
exports.config = {
framework: ['jasmine','custom']
请帮助我解决此问题。在配置中,
framework
属性的类型为string,而不是数组字符串
/**
* Test framework to use. This may be one of: jasmine, mocha or custom.
* Default value is 'jasmine'
*
* When the framework is set to "custom" you'll need to additionally
* set frameworkPath with the path relative to the config file or absolute:
*
* framework: 'custom',
* frameworkPath: './frameworks/my_custom_jasmine.js',
*
* See github.com/angular/protractor/blob/master/lib/frameworks/README.md
* to comply with the interface details of your custom implementation.
*
* Jasmine is fully supported as test and assertion frameworks.
* Mocha has limited support. You will need to include your
* own assertion framework (such as Chai) if working with Mocha.
*/
framework?: string;
为什么需要两个框架?您找到解决方案了吗?我需要做茉莉花和黄瓜的测试。