dimanche 3 décembre 2017

How can I get my grunt mocha test result in a html file?

Using

mochaTest: {
   test: {
    options: {
      reporter: 'html-cov',
      captureFile: 'coverage.html' 
    },
    src: ['tests/*.js']
  }
}

in my gruntfile is gives me

"html-cov" reporter not found

error. How can I get my test result in a html file and view it ?

Thx..

Also I'm using grunt.loadNpmTasks('grunt-selenium-standalone') task.

Aucun commentaire:

Enregistrer un commentaire