Changeset 26066
- Timestamp:
- 11/09/2013 09:25:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r26064 r26066 161 161 }, 162 162 phpunit: { 163 default: {163 'default': { 164 164 cmd: 'phpunit', 165 165 args: ['-c', 'phpunit.xml.dist'] … … 275 275 276 276 // Testing tasks. 277 grunt.registerMultiTask('phpunit', "Runs PHPUnit tests, including the ajax and multisite tests.", function() {278 grunt.util.spawn({ 279 cmd: this.data.cmd, 280 args: this.data.args, 281 opts: {stdio: 'inherit'} 282 }, this.async()); 277 grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() { 278 grunt.util.spawn({ 279 cmd: this.data.cmd, 280 args: this.data.args, 281 opts: {stdio: 'inherit'} 282 }, this.async()); 283 283 }); 284 284 285 grunt.registerTask('qunit:compiled', "Runs QUnit tests on compiled as well as uncompiled scripts.",285 grunt.registerTask('qunit:compiled', 'Runs QUnit tests on compiled as well as uncompiled scripts.', 286 286 ['build', 'copy:qunit', 'qunit', 'clean:qunit']); 287 grunt.registerTask('test', "Runs all QUnit and PHPUnit tasks.", ['qunit:compiled', 'phpunit']);287 grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']); 288 288 289 289 // Default task.
Note: See TracChangeset
for help on using the changeset viewer.