Grunt plugin to execute juve (assertions for Phantomas) performance tests and act upon the results, e.g beacon out, write to log, etc.
npm install grunt-juveshell
npm install grunt-juve --save-dev
`
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
`js
grunt.loadNpmTasks('grunt-juve');
`
The "grunt-juve" task
$3
In your project's Gruntfile, add a section named juve to the data object passed into grunt.initConfig().
`js
grunt.initConfig({
juve: {
my_site: {
options: {
tests: [{
url: 'http://www.tegud.net',
assertions: {
htmlSize: 10
}
}]
}
},
},
})
``