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

art at torproject.org art at torproject.org
Fri Sep 22 18:41:07 UTC 2017


commit 73945537e9e6b8b8f6190ba4ff7409d0eb75b074
Author: Amjad Mashaal <me at amjad.io>
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





More information about the tor-commits mailing list