diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..4e7bc770 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,13 @@ +[run] +omit = + babybuddy/settings/* + babybuddy/wsgi.py +source = + api + babybuddy + core + dashboard + reports + +[html] +directory = htmlcov diff --git a/.gitignore b/.gitignore index 75547da9..47a13d61 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # coverage .coverage +/htmlcov # database *.sqlite3 diff --git a/gulpfile.js/tasks/testing.js b/gulpfile.js/tasks/testing.js index 45421917..e9d77a7c 100644 --- a/gulpfile.js/tasks/testing.js +++ b/gulpfile.js/tasks/testing.js @@ -16,7 +16,6 @@ gulp.task('coverage', function(cb) { 'run', 'coverage', 'run', - '--source=api,core,dashboard,reports', 'manage.py', 'test' ],