commit | 0adce51b4e79e3be3b92ab99e671dc4479f80486 | [log] [tgz] |
---|---|---|
author | Pamela Dragosh <pdragosh@research.att.com> | Tue Aug 25 13:18:02 2020 -0400 |
committer | Morgan Richomme <morgan.richomme@orange.com> | Wed Aug 26 14:40:05 2020 +0000 |
tree | 961ce6f2bfafe2c2e72b2622f8c02efa2feede82 | |
parent | e8a9ad112aee6e5250f8ee53d72718b529a4dc9c [diff] |
Remove deprecated Policy Component Tests These tests I don't think are being called anymore. They refer to the old policy/engine code which is being deprecated. In addition, removing the drools-pdp Health check as the new PAP component consolidates all the policy components into one Healthcheck now. Minor fix for dcagen2 Policy Type that was missed in my last review. Renamed the Policy Healthcheck to remove the "new" Issue-ID: POLICY-2003 Change-Id: I8e90a1a70ca71ec57c665a4de6a02c223f3ccbe5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
This guide assumes you have run git clone on https://gerrit.onap.org/r/p/testsuite.git
For more info please see the Development Guide
You should install 2.7.12: https://www.python.org/downloads/release/python-2712
Install pip with the get-pip.py file from https://bootstrap.pypa.io/get-pip.py once downloaded run
python get-pip.py
let it install.
From the desktop, right click the Computer icon. Choose Properties from the context menu. Click the Advanced system settings link. Click Environment Variables. In the section System Variables, click New. In the New System Variable window, set the name as 'HTTPS_PROXY' then specify the value of the HTTPS_PROXY environment variable as your proxy. Click OK. Close all remaining windows by clicking OK.
Reopen Command prompt window, and run below code to install robot.
pip install robotframework
Most further documents will use the RED environment for Robot. https://github.com/nokia/RED/releases/download/0.7.0/RED_0.7.0.20160914115048-win32.win32.x86_64.zip
Once you install that IDE you probably will want to have a python editor to edit python files better. Go to Help > Eclipse Marketplace and search for PyDev and click install on PyDev for Eclipse 5.2.0
Once you install that IDE you will need EGit to check in git code. Go to Help > Eclipse Marketplace and search for Egit git team provider and click install on EGit Git Team Provider 4.5.0
Once you install that IDE you will probably want a json editor to edit json better. Go to Help > Eclipse Marketplace and search for Json Tools and click install on Json Tools 1.1.0
Note: You do not need to run these commands every time, only on a library update or initial checkout.
./setup.sh
Note that this script will download the chromedriver for the current OS. The default is linux64 which will download the appropriate chromedriver to /usr/local/bin so that it will be in the execution PATH.
Windows and Mac hosts will download into the current working directory. Windows and MAC users will need to ensure that the driver is in the execution PATH.
Two scripts have been provided in the root of the ete-testsuite project to enable test execution
For further information on using Robot [Tags], see [http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#configuring-execution] and [http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#simple-patterns]
When executing tests via tags, all of the robot files in the project are scanned for tests cases with the specified tags.
There are 3 flavors of runTags.sh
runTags.sh -i health -i ete -e garbage