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 ( /test/filename.js ) on another 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:
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" and also,
Code> should be included in the package. Jason, then just install NPM
Comments
Post a Comment