Custom Jasmine reporter in Protractor tests

后端 未结 4 1551
旧时难觅i
旧时难觅i 2021-01-04 00:40

I can not find how to change reporter style in protractors runner using jasmine framework.

What I have right now is:

4条回答
  •  攒了一身酷
    2021-01-04 01:14

    To extend @fer's answer:

    You can add these settings to jasmineNodeOpts to both see the current test and get stack trace right when test fails:

      jasmineNodeOpts: {
        showColors: true,
        isVerbose: true,
        realtimeFailure: true,
        includeStackTrace: true,
        defaultTimeoutInterval: 30000
      },
    

提交回复
热议问题