diff options
author | umry8364 <morgan.richomme@orange.com> | 2019-08-28 12:06:30 +0200 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-08-28 15:44:21 -0400 |
commit | d4af56d4c2f67a1285da783764f20a0c1c546592 (patch) | |
tree | 59e9b8921fe341f36f58168b4365cef2185879a0 /robotframework-onap/README.TXT | |
parent | f2b75da8dd38077c60cc2c852f73092980c1f906 (diff) |
Add tox
it would create virtualenv to
- run tests in python2.7 and 3
- perform linting operations (flake8, pylint)
Issue-ID: INT-1228
Change-Id: I451e1108285f6ebffc650bf3de4f175594ec796d
Signed-off-by: umry8364 <morgan.richomme@orange.com>
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/README.TXT')
-rw-r--r-- | robotframework-onap/README.TXT | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/robotframework-onap/README.TXT b/robotframework-onap/README.TXT index 9989546..f5b20c9 100644 --- a/robotframework-onap/README.TXT +++ b/robotframework-onap/README.TXT @@ -1,6 +1,19 @@ Robotframework-ONAP ======================= -Robot framework plugin to work with onap +Robot framework plugin to work with ONAP. +It provides 3 packages: -to install locally, checkout this repo and then run 'pip install -e .' in the root
\ No newline at end of file +* ONAPLibrary +* vcpeutils + +A tox file has been created with the following targets: + +* py3: run unit tests using python3 + provide unit test coverage information +* py27: run unit tests using python2.7 +* pep8: python linting with flake8 (python3) +* pylint: python linting with pylint (python3), pylint provide a rate estimation + +You can run all the target one after the other by typing `tox` from +robotframework-onap directory. Or if you want to specify a single target type +`tox -epep8` |