0

我想为使用 protractor-jsamine 框架构建的测试集成宁静报告。所做的所有探索仅显示了与量角器-黄瓜框架的宁静集成的结果。下面是我的配置文件示例。我应该添加什么以与 Serenity 报告集成。目前我正在使用茉莉花记者。

   config = {
      framework: 'jasmine2',
      seleniumAddress: 'http://localhost:4444/wd/hub',
      specs: ['specs7.js'],
      jasmineNodeOpts: {
      defaultTimeoutInterval: 50000,
      }
    capabilities: {
    'browserName': 'firefox'},

     onPrepare: function() {

     jasmine.getEnv().addReporter(reporter);

     }
     }
4

1 回答 1

0

Serenity/JS 不支持 Jasmine 测试运行器(目前)。但是,它支持 Mocha,这是 Jasmine 的绝佳替代品。

于 2017-08-14T22:10:01.227 回答