Slide 17
Slide 17 text
Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
phpunit: {
test: {
dir: '',
options: {
bin: 'bin/phpunit',
configuration: 'app/phpunit.xml'
}
},
},
});
!
grunt.loadNpmTasks('grunt-phpunit');
!
grunt.registerTask('test', ['phpunit:test']);
};