X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fdeveloper-guide.rst;h=d9a3a8a22d10efffe1e9fe97f2bf1ebd4685ada1;hb=refs%2Fchanges%2F36%2F3536%2F4;hp=4c0d38d9928f9393ec3a61581a2eaa9f6a7ef254;hpb=d26734faf0366f95ed055a783fed8297f8c63ff6;p=ric-plt%2Fa1.git diff --git a/docs/developer-guide.rst b/docs/developer-guide.rst index 4c0d38d..d9a3a8a 100644 --- a/docs/developer-guide.rst +++ b/docs/developer-guide.rst @@ -60,10 +60,13 @@ If you want to update the version of python itself (ie just done from 37 to 38): Unit Testing ------------ -Note, before this will work, for the first time on the machine running -the tests, run ``./install_deps.sh``. This is only needed once on the -machine. Also, this requires the python packages ``tox`` and -``pytest``. +Running the unit tests requires the python packages ``tox`` and ``pytest``. + +The RMR library is also required during unit tests. If running directly from tox +(outside a Docker container), install RMR using the script in the integration_tests +directory: ``install_rmr.sh``. + +Upon completion, view the test coverage like this: :: @@ -75,7 +78,7 @@ less nice because you don't get the pretty HTML) :: - docker build --no-cache -t a1test:latest -f Dockerfile-Unit-Test + docker build --no-cache -f Dockerfile-Unit-Test . Integration testing -------------------