       fixtures:
         files: [ 'specs/integration/fixtures/**/*' ]
         tasks: [ 'fixtures2js:integration' ]
-      # Run the unit tests when .js sources change
+      # Run all tests when source files change
+      test:
+        files: [ 'src/**/*.js',   'src/**/*.coffee' ]
+        tasks: [ 'test:unit', 'test:integration' ]
+      # Run the unit tests when they change
       unit:
-        files: [ 'src/**/*.js',   'src/**/*.coffee',
-                 'specs/unit/**/*', 'specs/unit/**/*' ]
+        files: [ 'specs/unit/**/*', 'specs/unit/**/*' ]
         tasks: [ 'test:unit' ]
-      # Run the integration tests when .js sources change
+      # Run the integration tests when they sources change
       integration:
-        files: [ 'src/**/*.js',   'src/**/*.coffee',
-                 'specs/integration/**/*', 'specs/integration/**/*' ]
+        files: [ 'specs/integration/**/*', 'specs/integration/**/*' ]
         tasks: [ 'test:integration' ]
       # Run the acceptance tests when features change
       acceptance:

        src: ['specs/unit/**/*.coffee']
        options:
          require: 'coffee-script/register'
      integration:
        src: ['specs/integration/**/*.coffee']
        options:
          require: 'coffee-script/register'

    # Acceptance testing with cucumber
    cucumberjs:


      options:
        steps: 'features/step_definitions'
        format: 'progress'
