You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/06 06:36:00 UTC

[GitHub] [cordova-ios] erisu commented on issue #643: test: use verbose spec reporter

erisu commented 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` 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 to only display the failed results do not so any of the successful tests. This will help minimize the printout.
   
   Additionally, I am not entirely sure if we need this printout setup locally. I can, for sure, 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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org