Note: When D-Release is released, add the 'release' arg to run released images.
./PM_DEMO.sh remote-remove docker release --env-file ../common/test_env-onap-guilin.sh
./PM_DEMO.sh remote-remove kube release --env-file ../common/test_env-onap-guilin.sh
Note that ECS was not available before oran cherry so a test script without ECS is used.
./PM_EI_DEMO.sh remote-remove docker release --env-file ../common/test_env-onap-honolulu.sh
./PM_EI_DEMO.sh remote-remove kube release --env-file ../common/test_env-onap-honolulu.sh
./PM_EI_DEMO.sh remote-remove docker --env-file ../common/test_env-onap-istanbul.sh
./PM_EI_DEMO.sh remote-remove kube --env-file ../common/test_env-onap-istanbul.sh
Note: When istanbul is released, add the 'release' arg to run released images.
The test script are number using these basic categories where 0-999 are releated to the policy managment and 1000-1999 are related to enrichment management. 2000-2999 are for southbound http proxy. There are also demo test cases that test more or less all components. These test scripts does not use the numbering scheme below.
The numbering in each series corresponds to the following groupings 1-99 - Basic sanity tests
100-199 - API tests
300-399 - Config changes and sync
800-899 - Stability and capacity test
900-999 - Misc test
Suites
To get an overview of the available test scripts, use the following command to print the test script description: 'grep ONELINE *.sh' in the dir of the test scripts.
A test script contains a number of steps to verify a certain functionality. The empty template for a test case file looks like this. Only the parts noted with < and > shall be changed. It is strongly suggested to look at the existing test scripts, it is probably easier to copy an existing test script instead of creating one from scratch. The README.md in ../common/
describes the functions available in the test script in detail.
#!/bin/bash TC_ONELINE_DESCR="<test case description>" DOCKER_INCLUDED_IMAGES=<list of used apps in this test case - for docker> KUBE_INCLUDED_IMAGES=<list of used apps (started by the script) in this test case - for kube> KUBE_PRESTARTED_IMAGES=<list of used apps (prestartedd - i.e. not started by the script) in this test case - for kube> SUPPORTED_PROFILES=<list of supported profile names> SUPPORTED_RUNMODES=<List of runmodes, DOCKER and/or KUBE> CONDITIONALLY_IGNORED_IMAGES=<list of images to exclude if it does not exist in the profile file> . ../common/testcase_common.sh $@ < other scripts need to be sourced for specific interfaces> setup_testenvironment #### TEST BEGIN #### <tests here> #### TEST COMPLETE #### store_logs END
Copyright (C) 2020 Nordix Foundation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.