1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
10 The framework requires Python version 3.7 or later, and depends on
11 these packages provided by the O-RAN-SC project and third parties:
18 Version bumping the framework
19 -----------------------------
21 This project follows semver. When changes are made, the versions are in:
23 #. ``docs/release-notes.rst``
29 These items in this repo must be kept in sync with the RMR version:
31 #. Dockerfile-Unit-Test
32 #. examples/Dockerfile-Ping
33 #. examples/Dockerfile-Pong
34 #. ``rmr-version.yaml`` controls what version of RMR is installed for
35 unit testing in Jenkins CI
41 Running the unit tests requires the python packages ``tox`` and ``pytest``.
43 The RMR library is also required during unit tests. If running directly from tox
44 (outside a Docker container), install RMR according to its instructions.
46 Upon completion, view the test coverage like this:
51 open htmlcov/index.html
53 Alternatively, if you cannot install RMR locally, you can run the unit
54 tests in Docker. This is somewhat less nice because you don't get the
55 pretty HTML report on coverage.
59 docker build --no-cache -f Dockerfile-Unit-Test .