module.exports = {
	options: {
		configFile: 'karma-unit.conf.js'
	},

	// Sinle run
	unit: {
		singleRun: true,
		preprocessors: {
			'src/**/*.js': ['coverage']
		},
		reporters: ['dots', 'coverage'],
		coverageReporter: {
			type : 'text-summary'
		},
	},

	// Create coverage report
	coverage: {
		singleRun: true,
		preprocessors: {
			'<%= dir.src %>/**/*.js': ['coverage']
		},
		reporters: ['dots', 'coverage'],
		coverageReporter: {
			type : 'html',
			dir: '<%= dir.coverage %>/'
		},
	},

	// TDD
	tdd: {}
};

@@ -132,25 +132,41 @@
 %0A%09%09%09'src/**/
-*
+!(*spec%7C*fixture)
 .js': %5B'cove
@@ -355,27 +355,32 @@
 %09%09%09'
-%3C%25= dir.src %25%3E/**/*
+src/**/!(*spec%7C*fixture)
 .js'

Exclude spec and fixtture files when doing coverage.