Skip to content

Instantly share code, notes, and snippets.

@dmitriz
Created April 17, 2015 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitriz/6bdf94d41f6c652bd15f to your computer and use it in GitHub Desktop.
Save dmitriz/6bdf94d41f6c652bd15f to your computer and use it in GitHub Desktop.
angular-bootstrap testing output

Demonstrating testing outputs for

https://github.com/angular-ui/bootstrap

Changes:

// in karma.conf.js
reportSlowerThan: 300,

Start:

grunt watch

Then:

  • edit and save a test file in src/

Results shown in files of this gist:

supress-above-300

Shows the output with

// in karma.conf.js
reportSlowerThan: 300,

added warngs above 200

The same output with changed setting:

// in karma.conf.js
reportSlowerThan: 300,
Running "karma:watch:run" (karma) task
[2015-04-17 01:12:59.971] [DEBUG] config - Loading config /Users/dmitrizaitsev/Dropbox/p/WebDev/Repos/angular-ui-bootstrap/karma.conf.js
Chrome 42.0.2311 (Mac OS X 10.8.5) SLOW 0.244 secs: datepicker directive `min-date` attribute disables all days in previous month
Chrome 42.0.2311 (Mac OS X 10.8.5) SLOW 0.204 secs: datepicker directive setting datepickerPopupConfig changes date format
Chrome 42.0.2311 (Mac OS X 10.8.5) SLOW 0.257 secs: datepicker directive as popup initially opened works with ngModelOptions should change model and update calendar after debounce timeout
Chrome 42.0.2311 (Mac OS X 10.8.5) SLOW 0.256 secs: datepicker directive as popup european format dd.MM.yyyy
Chrome 42.0.2311 (Mac OS X 10.8.5): Executed 755 of 755 SUCCESS (25.393 secs / 25.041 secs)
Done, without errors.
grunt watch
Running "enforce" task
Running "ddescribe-iit:files" (ddescribe-iit) task
Running "jshint:files" (jshint) task
>> 66 files lint free.
Running "html2js:dist" (html2js) task
Successfully converted 29 html templates to js.
Running "build" task
File dist/ui-bootstrap-0.13.0-SNAPSHOT-csp.css created
Running "concat:dist" (concat) task
File dist/ui-bootstrap-0.13.0-SNAPSHOT.js created.
Running "concat:dist_tpls" (concat) task
File dist/ui-bootstrap-tpls-0.13.0-SNAPSHOT.js created.
Running "uglify:dist" (uglify) task
>> 1 file created.
Running "uglify:dist_tpls" (uglify) task
>> 1 file created.
Running "makeModuleMappingFile" task
File dist/assets/module-mapping.json created.
Running "makeRawFilesJs" task
File dist/assets/raw-files.json created.
Running "copy:demohtml" (copy) task
Copied 1 file
Running "copy:demoassets" (copy) task
Created 2 directories, copied 15 files
Running "karma:watch" (karma) task
Running "delta" task
Waiting...
>> File "src/typeahead/test/typeahead.spec.js" changed.
Running "karma:watch:run" (karma) task
[2015-04-16 18:16:51.284] [DEBUG] config - Loading config /Users/dmitrizaitsev/Dropbox/p/WebDev/Repos/angular-ui-bootstrap/karma.conf.js
Chrome 42.0.2311 (Mac OS X 10.8.5): Executed 755 of 755 SUCCESS (23.726 secs / 23.36 secs)
Done, without errors.
Completed in 26.148s at Thu Apr 16 2015 18:17:15 GMT+0100 (IST) - Waiting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment