Basic task for using Yadda/Nightwatch on your build pipeline.
grunt.initConfig({
y2nw: {
local: {
src: 'tests',
dest: 'generated',
options: {
suffix: 'suitcase',
language: 'English'
}
}
}
});
grunt.loadNpmTasks('grunt-y2nw');
Then execute your tests with grunt-nightwatch.
$ grunt y2nw nightwatch