mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 21:03:49 +02:00
Add doc on how to got code coverage
This commit is contained in:
parent
42c8fb7c29
commit
a961387af9
13
README.rst
13
README.rst
@ -113,4 +113,17 @@ and homebrew: http://brew.sh/.
|
|||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
gns3server
|
gns3server
|
||||||
|
|
||||||
|
Running tests
|
||||||
|
*************
|
||||||
|
|
||||||
|
Just run:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
py.test -vv
|
||||||
|
|
||||||
|
If you want test coverage:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
py.test --cov=gns3server
|
||||||
|
Loading…
Reference in New Issue
Block a user