add grunt task to run drawing tests

This commit is contained in:
Julian Descottes 2017-05-20 17:31:55 +02:00
parent 319060beb6
commit 4a9f7cc74b

View file

@ -356,6 +356,8 @@ module.exports = function(grunt) {
grunt.registerTask('unit-test', ['karma']);
// Run integration tests
grunt.registerTask('integration-test', ['build-dev', 'connect:test', 'casperjs:integration']);
// Run drawing tests
grunt.registerTask('drawing-test', ['build-dev', 'connect:test', 'casperjs:drawing']);
// Run linting, unit tests, drawing tests and integration tests
grunt.registerTask('test', ['lint', 'unit-test', 'build-dev', 'connect:test', 'casperjs:drawing', 'casperjs:integration']);