[gtk-doc] HACKING: add info about how to get test coverage



commit 1b0a0032e95d151774f740cfe55f72190b7f2b01
Author: Stefan Sauer <ensonic users sf net>
Date:   Fri Dec 7 07:53:30 2018 +0100

    HACKING: add info about how to get test coverage

 HACKING | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/HACKING b/HACKING
index 39db966..fe4c506 100644
--- a/HACKING
+++ b/HACKING
@@ -73,7 +73,7 @@ export NEW_VER_TAG=$(echo ${NEW_VER} | tr '.' '_')
 - if we want a icon on the newsfeed, we should copy a icon like on
   http://ftp.acc.umu.se/pub/GNOME/sources/rhythmbox/rhythmbox.png
   e.g. /usr/share/icons/hicolor/48x48/apps/devhelp.png
-  
+
 Optimizing & Meassuring
 =======================
 
@@ -111,3 +111,8 @@ Troubles with parsing regexps
 Test regexps online:
 http://www.solmetra.com/scripts/regex/index.php
 
+Test Coverage
+=============
+sudo apt-get install python3-coverage
+PYTHONPATH=$PWD python3-coverage run tests/scan.py
+python3-coverage html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]