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

[tor-commits] [ooni-probe/master] Add unit testing tools to requirements-dev.txt and README (#731)



commit 73945537e9e6b8b8f6190ba4ff7409d0eb75b074
Author: Amjad Mashaal <me@xxxxxxxx>
Date:   Mon Mar 6 01:25:10 2017 +0200

    Add unit testing tools to requirements-dev.txt and README (#731)
---
 README.rst           | 4 ++++
 requirements-dev.txt | 1 +
 2 files changed, 5 insertions(+)

diff --git a/README.rst b/README.rst
index 1ee28729..2b3806e3 100644
--- a/README.rst
+++ b/README.rst
@@ -262,6 +262,10 @@ To run the ooniprobe agent, instead, type::
 
     ooniprobe-agent run
 
+To execute the unit tests for ooniprobe, type::
+
+    coverage run $(which trial) ooni
+
 Donate
 -------
 
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 932a8957..451b8c9b 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1 +1,2 @@
+coverage
 mock



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits