JasmineNodeOpts - Printing Protractor Test Results
问题 Background : I'm using Jasmine as my test framework for Protractor, I've been using jasmine spec reporter for reporting. Yesterday I slightly changed my jasmineNodeOpts parameters in my protractor conf.js to include the print() function i.e. jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 120000, includeStackTrace : true, isVerbose : true, print: function () {} }, I added this print function because I learned it would remove the . before each report. For example, my test reports