Add documentation about tests
This commit is contained in:
parent
bf69f3b642
commit
23d2b09562
@ -15,6 +15,7 @@ Contents:
|
|||||||
installation
|
installation
|
||||||
usage
|
usage
|
||||||
develsetup
|
develsetup
|
||||||
|
testing
|
||||||
classesdoc
|
classesdoc
|
||||||
contributing
|
contributing
|
||||||
help
|
help
|
||||||
|
@ -47,7 +47,7 @@ Using pip and virtualenv
|
|||||||
|
|
||||||
4. Install using pip::
|
4. Install using pip::
|
||||||
|
|
||||||
pip install python-virtualenv
|
pip install python-redfish
|
||||||
|
|
||||||
All files are installed under your virtualenv.
|
All files are installed under your virtualenv.
|
||||||
|
|
||||||
|
25
doc/source/testing.rst
Normal file
25
doc/source/testing.rst
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
=============
|
||||||
|
Running tests
|
||||||
|
=============
|
||||||
|
|
||||||
|
|
||||||
|
redfish module tests
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Tests are not functional for the redfish module yet.
|
||||||
|
|
||||||
|
refish-client tests
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
#. Create your development environment following `Developer setup <develsetup.html>`_.
|
||||||
|
#. Install docker using the `procedure <https://docs.docker.com/engine/installation/>`_.
|
||||||
|
#. Ensure you can use docker with your current user.
|
||||||
|
#. Jump into redfish-python directory containing the sources.
|
||||||
|
#. Install required modules for testings::
|
||||||
|
|
||||||
|
pip install -t test-requirements.txt
|
||||||
|
|
||||||
|
#. Run the test::
|
||||||
|
|
||||||
|
py.test redfish-client
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user