diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..9663a914 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,12 @@ +[run] +branch = True +source = cyborg +omit = + cyborg/tests/* + cyborg/hacking/* + +[report] +ignore_errors = True +exclude_lines = + @abc.abstract + raise NotImplementedError diff --git a/.gitignore b/.gitignore index e5811ebf..80de8ab7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ *.tox *.retry .coverage -.coveragerc .coverage.* .venv .stestr/ diff --git a/.stestr.conf b/.stestr.conf index 3aeee013..2ab877bb 100644 --- a/.stestr.conf +++ b/.stestr.conf @@ -1,3 +1,3 @@ [DEFAULT] -test_path=./ +test_path=./cyborg/tests top_dir=./