From 56373e32181e08b59e71a199f16065d269425164 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 22 Jun 2009 18:36:07 +0000 Subject: Make sure nose and coverage are installed. --- docs/tutorials/bfgwiki2/installation.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs') diff --git a/docs/tutorials/bfgwiki2/installation.rst b/docs/tutorials/bfgwiki2/installation.rst index 73687fff2..0a02ce9e1 100644 --- a/docs/tutorials/bfgwiki2/installation.rst +++ b/docs/tutorials/bfgwiki2/installation.rst @@ -208,6 +208,24 @@ test`` does but provides additional "coverage" information, exposing which lines of your project are "covered" (or not covered) by the tests. +To get this functionality working, we'll need to install a couple of +other packages into our ``virtualenv``: ``nose`` and ``coverage``: + +On UNIX: + +.. code-block:: bash + + $ ../bin/easy_install nose coverage + +On Windows: + +.. code-block:: bat + + c:\bfgfntut\tutorial> ..\Scripts\easy_install nose coverage + +Once ``nose`` and ``coverage`` are installed, we can actually run the +coverage tests. + On UNIX: .. code-block:: bash -- cgit v1.2.3