Commits

Gora Khargosh  committed f6c5225

Fixes coverage problems. Now needs system-wide install.

Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>

  • Participants
  • Parent commits 962e323

Comments (0)

Files changed (2)

     /*/tests/*
 
 [report]
+
+
+[html]
+director = htmlcov
+
 	@bin/python -c "import webbrowser; webbrowser.open('docs/build/html/index.html')"
 
 test:
-	@bin/coverage erase
-	@bin/coverage run bin/unit2 discover -v
-	@bin/coverage report -m
-	@bin/coverage html -d htmlcov
+	@echo "You will need Coverage 3.5 and unittest2 or higher for this to work."
+	@coverage erase
+	@coverage run -m unit2 discover -v
+	@coverage report -m
+	@coverage html -d htmlcov
 
 lint:
 	@pylint $(PKG_NAME)