gruntjs - Testing JavaScript using grunt -
I will run tests against javascript files via the Kiosk framework.
Just need a simple example, do so, there are dependencies of the target file ( Actually you have to use a rash execution command. Here is the explanation: In simple words, what you should do for this specific requirement: and also, should be included in the package. Jason, then just install NPM /test/filename.js ) on another file.
module.exports = function (grunt) { Grunt.initConfig ({execute: {simple_target: {// execute javascript files in a node child_process src: ['filename.js']}}}) Grunt.loadNpmTasks ('grunt-execute'); Grunt.registerTask ('Default', ['Executed']); } "Blanket": "~ 0.4.4", "blanket-execution": "~ 0.1.5"
Code>
Comments
Post a Comment