57

I am looking at karma's reporter configuration.

There are some possible reporters: progress, dots, growl, coverage. I don't find any detailed information explaining each of the options.

I tried progress and dots, they all print log to console, the result looks the same. What are the differences between them?

Growl, coverage need a little more configuration, so I didn't succeed testing them.

afnpires
  • 601
  • 1
  • 8
  • 24
Aaron Shen
  • 8,124
  • 10
  • 44
  • 86

1 Answers1

60
  • Progress will show the number of tests executed, skipped and total.

  • dots will print a dot for each test executed

  • growl will use the growl tool to report the progress of the testing. Note: you need to install the plugin to use this guy.

  • coverage works together with the coverage pre-processor to generate an HTML Coverage report of your Javascript files. Note: you need to install the plugin to use this guy.

MarcoL
  • 9,829
  • 3
  • 37
  • 50