erisu edited a comment on issue #643: test: use verbose spec reporter
URL: https://github.com/apache/cordova-ios/pull/643#issuecomment-571022988
 
 
   Any thoughts on having the `helper.js` file like this?
   
   ```
   if (process.env.CI) {
       const { SpecReporter } = require('jasmine-spec-reporter');
   
       const reporter = new SpecReporter({
           suite: {
               displayNumber: true
           },
           spec: {
               displayErrorMessages: true,
               displayStacktrace: true,
               displaySuccessful: false,
               displayFailed: true,
               displayPending: true,
               displayDuration: true
           },
           summary: {
               displayErrorMessages: false,
               displayStacktrace: false,
               displaySuccessful: false,
               displayFailed: false,
               displayPending: false,
               displayDuration: true
           }
       });
   
       jasmine.getEnv().clearReporters();
       jasmine.getEnv().addReporter(reporter);
   }
   ```
   
   The idea that I was thinking is we should only display the failed results 
and do not show any of the successful tests. This will help minimize the 
printout.
   
   Additionally, I am not entirely sure if we need this type of printout 
formatting locally. For sure, there is a benefit in the CI testing services.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to